Skip to content

Commit

Permalink
Issue yiisoft#12580 Make yii.js comply to js strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehaertl committed Sep 24, 2016
1 parent d0fb0d9 commit 3d4ab26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions framework/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Yii Framework 2 Change Log
- Enh #12440: Added `yii\base\Event::offAll()` method allowing clear all registered class-level event handlers (klimov-paul)
- Enh: Method `yii\console\controllers\AssetController::getAssetManager()` automatically enables `yii\web\AssetManager::forceCopy` in case it is not explicitly specified (pana1990, klimov-paul)

- Enh #12580: Make `yii.js` comply with strict and non-strict javascript mode to allow concatenation with external code (mikehaertl)

2.0.9 July 11, 2016
-------------------
Expand Down
2 changes: 1 addition & 1 deletion framework/assets/yii.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* You must call "yii.initModule()" once for the root module of all your modules.
*/
yii = (function ($) {
window.yii = (function ($) {
var pub = {
/**
* List of JS or CSS URLs that can be loaded multiple times via AJAX requests. Each script can be represented
Expand Down

0 comments on commit 3d4ab26

Please sign in to comment.