take the *html fragment* out of the js file, and use *grunt-angular-templates*…
take the *html fragment* out of the js file, and use *grunt-angular-templates* and *grunt-replace* plugin to generate the templateCache and insert it into the js file
Showing
dist/rzslider.js
0 → 100644
This diff is collapsed.
This diff is collapsed.
... | @@ -13,9 +13,11 @@ | ... | @@ -13,9 +13,11 @@ |
], | ], | ||
"devDependencies": { | "devDependencies": { | ||
"grunt": "~0.4.2", | "grunt": "~0.4.2", | ||
"grunt-angular-templates": "^0.5.7", | |||
"grunt-contrib-mincss": "~0.3.2", | "grunt-contrib-mincss": "~0.3.2", | ||
"grunt-contrib-uglify": "~0.2.2", | "grunt-contrib-uglify": "~0.2.2", | ||
"grunt-recess": "~0.4.0", | "grunt-recess": "~0.4.0", | ||
"grunt-replace": "^0.11.0", | |||
"recess": "~1.1.9" | "recess": "~1.1.9" | ||
}, | }, | ||
"author": "Rafal Zajac <rzajac@gmail.com>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com>", | "author": "Rafal Zajac <rzajac@gmail.com>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com>", | ||
... | ... |
src/rzSliderTpl.html
0 → 100644
Please
register
or
sign in
to comment