File tree Expand file tree Collapse file tree 8 files changed +8
-29
lines changed
tests/js/jasmine/spec_runner Expand file tree Collapse file tree 8 files changed +8
-29
lines changed Original file line number Diff line number Diff line change 6
6
'use strict' ;
7
7
8
8
var tasks = [ ] ,
9
- _ = require ( 'underscore' ) ,
10
- root = typeof self == 'object' && self . self === self && self ||
11
- typeof global == 'object' && global . global === global && global || Function ( 'return this' ) ( ) || { } ;
12
- root . _ = _ ;
9
+ _ = require ( 'underscore' ) ;
13
10
14
11
function init ( grunt , options ) {
15
12
var _ = require ( 'underscore' ) ,
Original file line number Diff line number Diff line change 6
6
'use strict' ;
7
7
8
8
var tasks = { } ,
9
- _ = require ( 'underscore' ) ,
10
- root = typeof self == 'object' && self . self === self && self ||
11
- typeof global == 'object' && global . global === global && global || Function ( 'return this' ) ( ) || { } ;
12
- root . _ = _ ;
9
+ _ = require ( 'underscore' ) ;
13
10
14
11
function init ( config ) {
15
12
var grunt = require ( 'grunt' ) ,
Original file line number Diff line number Diff line change 6
6
'use strict' ;
7
7
8
8
var themes = require ( '../tools/files-router' ) . get ( 'themes' ) ,
9
- _ = require ( 'underscore' ) ,
10
- root = typeof self == 'object' && self . self === self && self ||
11
- typeof global == 'object' && global . global === global && global || Function ( 'return this' ) ( ) || { } ;
12
- root . _ = _ ;
9
+ _ = require ( 'underscore' ) ;
13
10
14
11
var themeOptions = { } ;
15
12
Original file line number Diff line number Diff line change 7
7
8
8
var combo = require ( './combo' ) ,
9
9
themes = require ( '../tools/files-router' ) . get ( 'themes' ) ,
10
- _ = require ( 'underscore' ) ,
11
- root = typeof self == 'object' && self . self === self && self ||
12
- typeof global == 'object' && global . global === global && global || Function ( 'return this' ) ( ) || { } ;
13
- root . _ = _ ;
10
+ _ = require ( 'underscore' ) ;
14
11
15
12
var themeOptions = { } ;
16
13
Original file line number Diff line number Diff line change 7
7
8
8
var combo = require ( './combo' ) ,
9
9
themes = require ( '../tools/files-router' ) . get ( 'themes' ) ,
10
- _ = require ( 'underscore' ) ,
11
- root = typeof self == 'object' && self . self === self && self ||
12
- typeof global == 'object' && global . global === global && global || Function ( 'return this' ) ( ) || { } ;
13
- root . _ = _ ;
10
+ _ = require ( 'underscore' ) ;
14
11
15
12
var themeOptions = { } ;
16
13
Original file line number Diff line number Diff line change 7
7
8
8
var combo = require ( './combo' ) ,
9
9
themes = require ( '../tools/files-router' ) . get ( 'themes' ) ,
10
- _ = require ( 'underscore' ) ,
11
- root = typeof self == 'object' && self . self === self && self ||
12
- typeof global == 'object' && global . global === global && global || Function ( 'return this' ) ( ) || { } ;
13
- root . _ = _ ;
10
+ _ = require ( 'underscore' ) ;
14
11
15
12
var themeOptions = { } ;
16
13
Original file line number Diff line number Diff line change @@ -6,10 +6,7 @@ module.exports = function (grunt) {
6
6
'use strict' ;
7
7
8
8
var compressor = require ( 'node-minify' ) ,
9
- _ = require ( 'underscore' ) ,
10
- root = typeof self == 'object' && self . self === self && self ||
11
- typeof global == 'object' && global . global === global && global || Function ( 'return this' ) ( ) || { } ;
12
- root . _ = _ ;
9
+ _ = require ( 'underscore' ) ;
13
10
14
11
/**
15
12
* Helper function used to create config object for compressor.
Original file line number Diff line number Diff line change 37
37
"squirejs": "~0.2.1",
38
38
"strip-json-comments": "~2.0.1",
39
39
"time-grunt": "~1.4.0",
40
- "underscore": "~1.8.0 "
40
+ "underscore": "^1.13.1 "
41
41
}
42
42
}
You can’t perform that action at this time.
0 commit comments