@@ -61,7 +61,7 @@ gister.pack('Stuffy.Thing', function(){
61
61
62
62
/*global window*/
63
63
64
- if ( typeof jsBoot == 'undefined' )
64
+ if ( typeof jsBoot == 'undefined' )
65
65
var jsBoot = { } ;
66
66
67
67
( function ( globalObject ) {
@@ -97,7 +97,7 @@ if(typeof jsBoot == 'undefined')
97
97
} ;
98
98
99
99
this . add = function ( a ) {
100
- if ( a === undefined )
100
+ if ( a === undefined )
101
101
throw new Error ( 'UNDEFINED' , 'Requesting something local that is undefined' ) ;
102
102
flush ( ) ;
103
103
lastAdd = { value : a } ;
@@ -114,21 +114,21 @@ if(typeof jsBoot == 'undefined')
114
114
115
115
116
116
117
- var simplePull = function ( glob , name ) {
117
+ var simplePull = function ( glob , name ) {
118
118
name . split ( '.' ) . forEach ( function ( fragment ) {
119
- if ( ! ( fragment in glob ) )
119
+ if ( ! ( fragment in glob ) )
120
120
throw new Error ( 'MISSING' , 'Trying to require something that doesn\'t exist' ) ;
121
121
glob = glob [ fragment ] ;
122
122
} ) ;
123
123
return glob ;
124
124
} ;
125
125
126
- var parentPull = function ( glob , name ) {
126
+ var parentPull = function ( glob , name ) {
127
127
var ret = { } ;
128
128
name . split ( '.' ) . forEach ( function ( fragment ) {
129
129
ret . o = glob ;
130
130
ret . k = fragment ;
131
- if ( ! ( fragment in glob ) )
131
+ if ( ! ( fragment in glob ) )
132
132
glob [ fragment ] = { } ;
133
133
glob = glob [ fragment ] ;
134
134
} ) ;
@@ -156,7 +156,7 @@ if(typeof jsBoot == 'undefined')
156
156
} ) ;
157
157
158
158
// If AMD pattern
159
- /*
159
+ /*
160
160
if (isLoader || internalObj) {
161
161
// Get dependencies names
162
162
var deps = [];
@@ -241,7 +241,7 @@ if(typeof jsBoot == 'undefined')
241
241
242
242
var r = parentPull ( globalObject , name ) ;
243
243
r . o [ r . k ] = factory . apply ( r . o [ r . k ] , [ api ] ) || r . o [ r . k ] ;
244
- // }
244
+ // }
245
245
} ;
246
246
247
247
this . run = function ( factory ) {
@@ -262,7 +262,7 @@ if(typeof jsBoot == 'undefined')
262
262
} ) ;
263
263
264
264
// If AMD pattern
265
- /* if (isLoader || internalObj) {
265
+ /* if (isLoader || internalObj) {
266
266
// Get dependencies names
267
267
var deps = localUse.map(function(item) {
268
268
return item.module.replace(/\./g, '/');
0 commit comments