Skip to content

Commit

Permalink
replace require with import-from (working...)
Browse files Browse the repository at this point in the history
  • Loading branch information
taijiweb committed Nov 8, 2018
1 parent 69c4913 commit dc32617
Show file tree
Hide file tree
Showing 75 changed files with 13,780 additions and 10,078 deletions.
738 changes: 397 additions & 341 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/coffee/index.coffee
@@ -1,4 +1,4 @@
{runDemo, demoMap} = require('./util')
{runDemo, demoMap} from'./util')

dc.alwaysRender = true

Expand Down
6 changes: 3 additions & 3 deletions demo/coffee/util.coffee
Expand Up @@ -3,10 +3,10 @@

dc.directives $options: dc.$options, $model: dc.$model

{eachDemo1, eachDemo2, eachDemo3, eachDemo4} = require('./demo-each')
chooseFramework = require('./demo-choose-web-framework')
{eachDemo1, eachDemo2, eachDemo3, eachDemo4} from'./demo-each')
chooseFramework from'./demo-choose-web-framework')

{demoEachPush, demoIfEach, demoModelOnMultipleInput} = require('./demo-debug')
{demoEachPush, demoIfEach, demoModelOnMultipleInput} from'./demo-debug')

exports.demoMap =
'choose web framework':chooseFramework
Expand Down
91 changes: 0 additions & 91 deletions dist/demo.js

This file was deleted.

0 comments on commit dc32617

Please sign in to comment.