Skip to content

Commit

Permalink
fix(build): add ; after script
Browse files Browse the repository at this point in the history
- Add extra `;` so there is no issue when concatenating scripts

Closes angular-ui#5197
Fixes angular-ui#5196
  • Loading branch information
wesleycho committed Jan 10, 2016
1 parent 7250ff3 commit 9d0269e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ module.exports = function(grunt) {
.replace(/\\/g, '\\\\')
.replace(/'/g, "\\'")
.replace(/\r?\n/g, '\\n');
js = `angular.module('ui.bootstrap.carousel').run(function() {!angular.$$csp() && angular.element(document).find('head').prepend('<style type="text/css">${css}</style>'); })`;
js = `angular.module('ui.bootstrap.carousel').run(function() {!angular.$$csp() && angular.element(document).find('head').prepend('<style type="text/css">${css}</style>'); });`;
state.js.push(js);

return state;
Expand Down

0 comments on commit 9d0269e

Please sign in to comment.