majodev / leap-requirejs-optimization-error

build errors with r.js and leapjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leap-requirejs-optimization-error

It seems like leapjs and r.js don't wanna play together. This project demonstrates an optimization issue with leapjs. Code works during development, but optimized code fails. Any help appreciated!

UPDATE: Finally resolved. Please visit leapjs issue ticket!

Setup

`npm install -d`

Building

optimizing leap.js the right way: `node scripts/build-right.js`

optimizing leap.js the wrong way: node scripts/build-wrong.js

Links

r.js issue ticket

leapjs issue ticket

Copyright

MIT license - see LICENSE.md for further information - (c) 2013 Mario Ranftl (majodev).

About

build errors with r.js and leapjs

License:Other


Languages

Language:JavaScript 100.0%