File tree Expand file tree Collapse file tree 5 files changed +4682
-10
lines changed Expand file tree Collapse file tree 5 files changed +4682
-10
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,7 @@ script: npm test
3
3
before_install :
4
4
- " export DISPLAY=:99.0"
5
5
- " sh -e /etc/init.d/xvfb start"
6
- node_js :
7
- - " 0.10"
6
+ node_js : 7.3
7
+ cache : yarn
8
+ addons :
9
+ firefox : " 51.0"
Original file line number Diff line number Diff line change 36
36
"can-view-autorender" : " ^3.0.4" ,
37
37
"can-view-model" : " ^3.1.3" ,
38
38
"cssify" : " 0.6.0" ,
39
- "d3" : " ^3.5.17" ,
40
- "jquery" : " ~2.1.4"
39
+ "d3" : " ^3.5.17"
41
40
},
42
41
"devDependencies" : {
43
- "documentjs" : " git://github.com/bitovi/documentjs#master" ,
44
42
"funcunit" : " ^3.0.0" ,
45
43
"semistandard" : " ^10.0.0" ,
46
- "steal" : " 1.3.2" ,
44
+ "steal" : " ^ 1.3.2" ,
47
45
"steal-less" : " ^1.2.0" ,
48
- "steal-qunit" : " 1.0.1" ,
46
+ "steal-qunit" : " ^ 1.0.1" ,
49
47
"steal-stache" : " ^3.0.5" ,
50
- "steal-tools" : " 1.2.0" ,
48
+ "steal-tools" : " ^ 1.2.0" ,
51
49
"testee" : " ^0.3.1"
52
50
},
53
51
"steal" : {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Component.extend({
60
60
} ,
61
61
removed : function ( ) {
62
62
// check if the chart was not destroyed:
63
- if ( canViewModel ( this . element . parentElement ) . chart ) {
63
+ if ( this . element . parentElement && canViewModel ( this . element . parentElement ) . chart ) {
64
64
this . viewModel . unloadColumn ( ) ;
65
65
}
66
66
} ,
Original file line number Diff line number Diff line change 1
1
import Component from "can-component" ;
2
2
import DataVM from './viewmodel' ;
3
- import $ from 'jquery' ;
4
3
import canViewModel from 'can-view-model' ;
5
4
6
5
/**
You can’t perform that action at this time.
0 commit comments