Add Travis CI badge to README.md

This commit is contained in:
Josh Goldberg
2015-04-24 12:28:39 -04:00
parent 11c5d78f27
commit ccaa909a67
+3 -3
View File
@@ -1,4 +1,4 @@
# ObjectMakr
# ObjectMakr [![Build Status](https://travis-ci.org/FullScreenShenanigans/ObjectMakr.svg?branch=master)](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() {}
```
```