Browse Source

Merge pull request #3869 from zpao/jsx-cleanup

JSX -> Babel cleanup
main
Paul O’Shannessy 10 years ago
parent
commit
23099ea0f1
  1. 4
      Rakefile
  2. 0
      js/es5-sham.min.js
  3. 0
      js/es5-shim.min.js
  4. 0
      js/html5shiv.min.js

4
Rakefile

@ -4,12 +4,12 @@ require('yaml')
desc "generate js from jsx" desc "generate js from jsx"
task :js do task :js do
system "../bin/jsx --harmony _js js" system "../node_modules/.bin/babel _js --out-dir=js"
end end
desc "watch js" desc "watch js"
task :watch do task :watch do
Process.spawn "../bin/jsx --watch --harmony _js js" Process.spawn "../node_modules/.bin/babel _js --out-dir=js --watch"
Process.waitall Process.waitall
end end

0
_js/es5-sham.min.js → js/es5-sham.min.js

0
_js/es5-shim.min.js → js/es5-shim.min.js

0
_js/html5shiv.min.js → js/html5shiv.min.js

Loading…
Cancel
Save