Skip to content

Commit

Permalink
version 2.0.5 to add "use strict" to default JS
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfmorton committed Aug 14, 2018
1 parent 8dffc24 commit 42ae940
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

## Changelog

## [2.0.5] - 2018-08-14
### Changed
- Added "use strict" to default JS file for banners since minification adds it anyway. Helps prevent errors in production build of JS.

## [2.0.4] - 2018-08-03
### Changed
- Changes in SCSS files during development will now force a browser reload instead of injecting CSS changes into the banner.


## [2.0.3] - 2018-07-30
### Fixed
- The JS minification settings were too aggressive and would break some banners. It's been ratched down to not manage variable names.
Expand Down
1 change: 1 addition & 0 deletions generators/app/templates/dev/_script_adwords.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
// JavaScript Document
// HTML5 Ad Template JS from DoubleClick by Google // modified to remove DCS specific code

Expand Down
1 change: 1 addition & 0 deletions generators/app/templates/dev/_script_dc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
// JavaScript Document
// HTML5 Ad Template JS from DoubleClick by Google

Expand Down
1 change: 1 addition & 0 deletions generators/app/templates/dev/_script_sizmek.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
// JavaScript Document
// HTML5 Ad Template JS from DoubleClick by Google // modified to remove DCS specific code

Expand Down
1 change: 1 addition & 0 deletions generators/app/templates/dev/_script_standard.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict";
// JavaScript Document
// HTML5 Ad Template JS from DoubleClick by Google // modified to remove DCS specific code

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-buildabanner",
"version": "2.0.4",
"version": "2.0.5",
"description": "Yeoman generator to help build a variety of HTML banners: Standard, Adwords, DoubleClick Studio or Sizmek.",
"license": "MIT",
"main": "app/index.js",
Expand Down

0 comments on commit 42ae940

Please sign in to comment.