Minify templates and concat into one file.
This commit is contained in:
parent
3fa715298e
commit
5c568e649f
5 changed files with 33 additions and 2 deletions
|
@ -34,7 +34,11 @@
|
|||
<script src="bower_components/underscore/underscore.js"></script>
|
||||
<!-- endbuild -->
|
||||
|
||||
<!-- build:js({.tmp,app}) scripts/scripts.js -->
|
||||
<!-- build:js(.tmp) scripts/templates.js -->
|
||||
<script src="scripts/templates.js"></script>
|
||||
<!-- endbuild -->
|
||||
|
||||
<!-- build:js scripts/scripts.js -->
|
||||
<script src="scripts/app.js"></script>
|
||||
<script src="scripts/libs.js"></script>
|
||||
<script src="scripts/config.js"></script>
|
||||
|
|
|
@ -4,7 +4,8 @@ angular.module('ffffng', [
|
|||
'ngSanitize',
|
||||
'ngRoute',
|
||||
'ng',
|
||||
'leaflet-directive'
|
||||
'leaflet-directive',
|
||||
'templates-main'
|
||||
])
|
||||
.config(function ($routeProvider) {
|
||||
$routeProvider
|
||||
|
|
4
app/scripts/templates.js
Normal file
4
app/scripts/templates.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
/**
|
||||
* Placeholder module for development. The real module holding the templates is generated via the html2js task.
|
||||
*/
|
||||
angular.module('templates-main', []);
|
Loading…
Add table
Add a link
Reference in a new issue