Skip to content

Commit ac05034

Browse files
author
dmp42
committed
Linting
1 parent ce19234 commit ac05034

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/jsboot/gister/packman.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ gister.pack('Stuffy.Thing', function(){
6161

6262
/*global window*/
6363

64-
if(typeof jsBoot == 'undefined')
64+
if (typeof jsBoot == 'undefined')
6565
var jsBoot = {};
6666

6767
(function(globalObject) {
@@ -97,7 +97,7 @@ if(typeof jsBoot == 'undefined')
9797
};
9898

9999
this.add = function(a) {
100-
if(a === undefined)
100+
if (a === undefined)
101101
throw new Error('UNDEFINED', 'Requesting something local that is undefined');
102102
flush();
103103
lastAdd = {value: a};
@@ -114,21 +114,21 @@ if(typeof jsBoot == 'undefined')
114114

115115

116116

117-
var simplePull = function(glob, name){
117+
var simplePull = function(glob, name) {
118118
name.split('.').forEach(function(fragment) {
119-
if(!(fragment in glob))
119+
if (!(fragment in glob))
120120
throw new Error('MISSING', 'Trying to require something that doesn\'t exist');
121121
glob = glob[fragment];
122122
});
123123
return glob;
124124
};
125125

126-
var parentPull = function(glob, name){
126+
var parentPull = function(glob, name) {
127127
var ret = {};
128128
name.split('.').forEach(function(fragment) {
129129
ret.o = glob;
130130
ret.k = fragment;
131-
if(!(fragment in glob))
131+
if (!(fragment in glob))
132132
glob[fragment] = {};
133133
glob = glob[fragment];
134134
});
@@ -156,7 +156,7 @@ if(typeof jsBoot == 'undefined')
156156
});
157157

158158
// If AMD pattern
159-
/*
159+
/*
160160
if (isLoader || internalObj) {
161161
// Get dependencies names
162162
var deps = [];
@@ -241,7 +241,7 @@ if(typeof jsBoot == 'undefined')
241241

242242
var r = parentPull(globalObject, name);
243243
r.o[r.k] = factory.apply(r.o[r.k], [api]) || r.o[r.k];
244-
// }
244+
// }
245245
};
246246

247247
this.run = function(factory) {
@@ -262,7 +262,7 @@ if(typeof jsBoot == 'undefined')
262262
});
263263

264264
// If AMD pattern
265-
/* if (isLoader || internalObj) {
265+
/* if (isLoader || internalObj) {
266266
// Get dependencies names
267267
var deps = localUse.map(function(item) {
268268
return item.module.replace(/\./g, '/');

src/mingus/xhr/digest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
nc: _nc
235235
};
236236

237-
return 'Digest ' + Object.keys(auth).map(function(key){
237+
return 'Digest ' + Object.keys(auth).map(function(key) {
238238
return key + '="' + auth[key] + '"';
239239
}).join(', ');
240240
};

0 commit comments

Comments
 (0)