willzeng / cograph

A way to build and explore webs of ideas.
http://www.cograph.co/
GNU General Public License v2.0
15 stars 3 forks source link

(needs more testing before merge) start implementing minification proccess using require #537

Closed willzeng closed 10 years ago

willzeng commented 10 years ago

damn, this took me way longer than I thought because I needed to mess around with how some out packages work. Fixes #289

Because of those changes I'm going to need to change our bower dependencies to our own versions of backbone.iobind and bbmodal (which is already our own version).

On this branch (after npm install) you can compile all the javascript, including bower packages, into a single minified file with the following command: r.js -o app/build.js or on windows with r.js.cmd -o app/build.js

We'll want to take a more thorough look at this before actually implementing it, but it really drastically increases the javascript load speed.

Next steps:

@davidfurlong

davidfurlong commented 10 years ago

No worries. I'm currently doing some cool stuff I'll push in when its ready

willzeng commented 10 years ago

ugh, actually i'm going to delete this branch and swing it again

willzeng commented 10 years ago

don't check this out as it might mess with your bower packages