Permalink
Browse files

Added LICENSE and updated README.

  • Loading branch information...
1 parent 88be854 commit 188f1b2b16bc41fdb1a5c9a664ee0634744868fc @brianmcd committed Aug 5, 2011
Showing with 35 additions and 2 deletions.
  1. +22 −0 LICENSE.txt
  2. +7 −2 README.md
  3. +6 −0 package.json
View
@@ -0,0 +1,22 @@
+Copyright (c) 2011 Brian McDaniel
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
View
@@ -82,7 +82,6 @@ Testing is done with nodeunit. Run the tests with
nodeunit test/
Output:
-
contextify
✔ basic tests - blank context
✔ basic tests - basic context
@@ -100,13 +99,19 @@ Output:
✔ test global - test deleter
✔ test global - test global class name
✔ test global - test global functions
+ ✔ test global - test global.run()
+ ✔ test global - test global.getGlobal()
✔ test multiple contexts
prop1
✔ test console
✔ test exceptions
- OK: 55 assertions (12ms)
+ OK: 57 assertions (12ms)
## Building
node-waf configure build
+
+## Acknowledgments
+
+Inspiration taken from Assaf's Zombie.js context solution: https://github.com/assaf/zombie
View
@@ -18,6 +18,12 @@
"engines": {
"node": ">=0.4.0"
},
+ "licenses": [
+ {
+ "type" : "MIT",
+ "url" : "http://github.com/brianmcd/contextify/blob/master/LICENSE.txt"
+ }
+ ],
"dependencies": {},
"devDependencies": {
"nodeunit" : ">=0.5.x"

0 comments on commit 188f1b2

Please sign in to comment.