registerguard / bulldog

The official 2013 registerguard.com theme.
http://registerguard.com
1 stars 1 forks source link

Logic error in Gruntfile.js #140

Closed mhulse closed 11 years ago

mhulse commented 11 years ago

Lines:

https://github.com/registerguard/bulldog/blob/master/build/Gruntfile.js#L173-L175

The './files/js/woof.*.js', line will suck in './files/js/woof.init.js'. Fortunately, I built the woof loader to not care if modules load after init, but it would be good to get the init in there last.

One way to fix would be to rename all modules to woof.mod.XXXXXX.js and then I could say './files/js/woof.mod.*.js', which would ignore the init file until it's called on the next line.