File tree Expand file tree Collapse file tree 8 files changed +32
-8
lines changed
tests/js/jasmine/spec_runner Expand file tree Collapse file tree 8 files changed +32
-8
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' ) ;
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 . _ = _ ;
10
13
11
14
function init ( grunt , options ) {
12
15
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' ) ;
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 . _ = _ ;
10
13
11
14
function init ( config ) {
12
15
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' ) ;
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 . _ = _ ;
10
13
11
14
var themeOptions = { } ;
12
15
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' ) ;
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 . _ = _ ;
11
14
12
15
var themeOptions = { } ;
13
16
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' ) ;
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 . _ = _ ;
11
14
12
15
var themeOptions = { } ;
13
16
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' ) ;
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 . _ = _ ;
11
14
12
15
var themeOptions = { } ;
13
16
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ module.exports = function (grunt) {
6
6
'use strict' ;
7
7
8
8
var compressor = require ( 'node-minify' ) ,
9
- _ = require ( 'underscore' ) ;
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 . _ = _ ;
10
13
11
14
/**
12
15
* Helper function used to create config object for compressor.
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ define(function (require) {
6
6
'use strict' ;
7
7
8
8
var utils = { } ,
9
- _ = require ( 'underscore' ) ;
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 . _ = _ ;
10
13
11
14
return _ . extend (
12
15
utils ,
You can’t perform that action at this time.
0 commit comments