You've already forked ObjectMakr
mirror of
https://github.com/FullScreenShenanigans/ObjectMakr.git
synced 2026-04-28 13:00:13 -07:00
Add Travis CI badge to README.md
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# ObjectMakr
|
||||
# ObjectMakr [](https://travis-ci.org/FullScreenShenanigans/ObjectMakr)
|
||||
|
||||
An Abstract Factory for JavaScript classes that automates the process of setting
|
||||
constructors' prototypal inheritance. A sketch of class inheritance and a
|
||||
@@ -15,7 +15,7 @@ and returns it. If desired, any settings are applied to it.
|
||||
|
||||
* **getFunction(***`type`***)** - Returns the constructor of the given class.
|
||||
|
||||
* **getFunctions() - Returns the constructor of the given class.
|
||||
* **getFunctions()** - Returns the constructor of the given class.
|
||||
|
||||
#### Important Member Variables
|
||||
|
||||
@@ -100,4 +100,4 @@ to be run when made.
|
||||
console.log(ObjectMaker.make("Square")); // Square {constructor: function...
|
||||
console.log(ObjectMaker.make("Square").area); // "width ^ 2"
|
||||
console.log(ObjectMaker.getFunction("Square")); // function Square() {}
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user