Closed vendethiel closed 11 years ago
Nice plugin, but I'm having some errors with it ..
I have app/Anime/templates/index.jade it gets compiled to return $templateCache.put('/templates/index.html',
app/Anime/templates/index.jade
return $templateCache.put('/templates/index.html',
because of this :
modulePath = pair.path.slice(2, pair.path.lastIndexOf(this.modulesFolder) + 1); if (modulePath.length === 0) { modulePath.push(this.modulesFolder); } moduleName = modulePath.join('.'); jsFileName = moduleName + '.js'; modulePath.push(pair.path[pair.path.length - 1]);
you're actually removing the "Anime" namespace before ...
pair.path.splice(1, 1, 'js');
I'm using this atm
virtualPathGen = function() { return '/' + pair.path.slice(1).join('/'); };
Same problem here.
Same problem :(
Nice plugin, but I'm having some errors with it ..
I have
app/Anime/templates/index.jade
it gets compiled toreturn $templateCache.put('/templates/index.html',
because of this :
you're actually removing the "Anime" namespace before ...
I'm using this atm