File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 },
1919 "repository" : " pie-framework/pie-cli.git" ,
2020 "engines" : {
21- "node" : " >=9.4.0" ,
21+ "node" : " >=9.4.0 <10 " ,
2222 "npm" : " >=5.6.0"
2323 },
2424 "keywords" : [
101101 "marked-terminal" : " ^2.0.0" ,
102102 "minimist" : " ^1.2.0" ,
103103 "ora" : " ^1.2.0" ,
104- "pie-catalog-client" : " ^2.2 .0" ,
104+ "pie-catalog-client" : " ^2.3 .0" ,
105105 "pie-controller" : " ^3.3.0" ,
106106 "pie-player" : " ^3.4.0" ,
107107 "pie-support-less" : " PieLabs/pie-support-less#master" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ describe('declaration', () => {
88 describe ( 'js' , ( ) => {
99 it ( 'returns a custom element declaration' , ( ) => {
1010 let d = new mod . ElementDeclaration ( 'my-tag' ) ;
11- expect ( d . js ) . to . eql ( `import MyTag from 'my-tag';\ncustomElements.define('my-tag', MyTag);` ) ;
11+ expect ( d . js ) . to . eql ( `import MyTag from 'my-tag';\nif(!customElements.get('my-tag')){\ ncustomElements.define('my-tag', MyTag);\n} ` ) ;
1212 } ) ;
1313 } ) ;
1414 } ) ;
You can’t perform that action at this time.
0 commit comments