diff options
Diffstat (limited to 'tasks/config/sails-linker.js')
-rwxr-xr-x | tasks/config/sails-linker.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tasks/config/sails-linker.js b/tasks/config/sails-linker.js index b9f151c..0029889 100755 --- a/tasks/config/sails-linker.js +++ b/tasks/config/sails-linker.js @@ -7,7 +7,7 @@ module.exports = function(grunt) { startTag: '<!--SCRIPTS-->', endTag: '<!--SCRIPTS END-->', fileRef: function(filepath) { - var tmpl = '<script src="{{ "%s" | absURL}}"></script>'; + var tmpl = '<script src="{{ "%s" | absURL }}"></script>'; return util.format(tmpl, filepath.substring(filepath.indexOf('/'))); }, appRoot: 'src/' @@ -21,7 +21,7 @@ module.exports = function(grunt) { startTag: '<!--STYLES-->', endTag: '<!--STYLES END-->', fileRef: function(filepath) { - var tmpl = '<link rel="stylesheet" href="{{ "%s" | absURL}}" />'; + var tmpl = '<link rel="stylesheet" href="{{ "%s" | absURL }}" />'; return util.format(tmpl, filepath.substring(filepath.indexOf('/') + 1)); }, appRoot: 'src/' @@ -35,7 +35,7 @@ module.exports = function(grunt) { startTag: '<!--SCRIPTS-->', endTag: '<!--SCRIPTS END-->', fileRef: function(filepath) { - var tmpl = '<script src="{{ "%s" | absURL}}"></script>'; + var tmpl = '<script src="{{ "%s" | absURL }}"></script>'; return util.format(tmpl, filepath.substring(filepath.indexOf('/'))); }, appRoot: 'src/' @@ -49,7 +49,7 @@ module.exports = function(grunt) { startTag: '<!--STYLES-->', endTag: '<!--STYLES END-->', fileRef: function(filepath) { - var tmpl = '<link rel="stylesheet" href="{{ "%s" | absURL}}" />'; + var tmpl = '<link rel="stylesheet" href="{{ "%s" | absURL }}" />'; return util.format(tmpl, filepath.substring(filepath.indexOf('/') + 1)); }, appRoot: 'src/' |