File tree 4 files changed +3046
-2947
lines changed
4 files changed +3046
-2947
lines changed Original file line number Diff line number Diff line change 8
8
"ember-resolver" : " ~0.1.11" ,
9
9
"loader.js" : " stefanpenner/loader.js#1.0.1" ,
10
10
"ember-cli-shims" : " stefanpenner/ember-cli-shims#0.0.3" ,
11
- "ember-cli-test-loader" : " rwjblue/ember-cli-test-loader#0.0.4 " ,
11
+ "ember-cli-test-loader" : " rwjblue/ember-cli-test-loader#0.1.3 " ,
12
12
"ember-load-initializers" : " stefanpenner/ember-load-initializers#0.0.2" ,
13
- "ember-qunit" : " 0.1.8 " ,
14
- "ember-qunit-notifications" : " 0.0.4 " ,
15
- "qunit" : " ~1.15.0 "
13
+ "ember-qunit" : " ~0.3.0 " ,
14
+ "ember-qunit-notifications" : " ~ 0.0.7 " ,
15
+ "qunit" : " ~1.17.1 "
16
16
},
17
17
"devDependencies" : {
18
- "chartist" : " ~0.5.0 "
18
+ "chartist" : " ~0.7.3 "
19
19
}
20
20
}
Original file line number Diff line number Diff line change 32
32
"ember-cli-esnext" : " 0.1.1" ,
33
33
"ember-cli-ic-ajax" : " 0.1.1" ,
34
34
"ember-cli-inject-live-reload" : " ^1.3.0" ,
35
- "ember-cli-qunit" : " 0.1.2 " ,
35
+ "ember-cli-qunit" : " ~0.3.9 " ,
36
36
"ember-cli-sass" : " 3.0.3" ,
37
37
"ember-data" : " 1.0.0-beta.12" ,
38
38
"ember-export-application-global" : " ^1.0.0" ,
39
39
"express" : " ^4.8.5" ,
40
- "glob" : " ^4.0.5"
40
+ "glob" : " ~4.0.5" ,
41
+ "rimraf" : " ~2.2.8"
41
42
},
42
43
"keywords" : [
43
44
" ember-addon" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,31 @@ import {
5
5
6
6
setResolver ( resolver ) ;
7
7
8
+
9
+ // This is to save PhantomJS from itself, because PhantomJS < 2.0 doesn't have
10
+ // Function.prototype.bind for _reasons_
11
+ if ( ! Function . prototype . bind ) {
12
+ Function . prototype . bind = function ( oThis ) {
13
+ if ( typeof this !== "function" ) {
14
+ // closest thing possible to the ECMAScript 5 internal IsCallable function
15
+ throw new TypeError ( "Function.prototype.bind - what is trying to be bound is not callable" ) ;
16
+ }
17
+
18
+ var aArgs = Array . prototype . slice . call ( arguments , 1 ) ,
19
+ fToBind = this ,
20
+ FNOP = function ( ) { } ,
21
+ fBound = function ( ) {
22
+ return fToBind . apply ( this instanceof FNOP && oThis ? this : oThis , aArgs . concat ( Array . prototype . slice . call ( arguments ) ) ) ;
23
+ } ;
24
+
25
+ FNOP . prototype = this . prototype ;
26
+ fBound . prototype = new FNOP ( ) ;
27
+
28
+ return fBound ;
29
+ } ;
30
+ }
31
+
32
+
8
33
document . write ( '<div id="ember-testing-container"><div id="ember-testing"></div></div>' ) ;
9
34
10
35
QUnit . config . urlConfig . push ( { id : 'nocontainer' , label : 'Hide container' } ) ;
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments