Comparing version 0.11.0 to 0.12.0
@@ -167,2 +167,5 @@ // ---------------------------------------------------------------------------- | ||
// track everything | ||
var globalNamespace = {}; | ||
var defineThing = function(name, thing, parents, hash) | ||
@@ -190,2 +193,5 @@ { | ||
// ensure we add it to ns | ||
globalNamespace[name] = thing; | ||
return thing; | ||
@@ -279,3 +285,3 @@ }; | ||
module.exports = { | ||
module.exports = typedef = { | ||
@@ -287,2 +293,3 @@ class : function(name) { return new Class(name); }, | ||
signature : core.getSignature, | ||
global : globalNamespace, | ||
@@ -289,0 +296,0 @@ Exception : require('./exception'), |
{ | ||
"name": "typedef", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "Familiar classes, mixins, and interfaces in ES5 Javascript. Member decorations for powerful objects that keep your code DRY", | ||
@@ -5,0 +5,0 @@ "main": "lib/typedef.js", |
@@ -8,1 +8,2 @@ // Run all tests | ||
require('./unit/ondefine'); | ||
require('./unit/global'); |
105992
22
3140