octicon-rss(16/)
You've already forked yii2
mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 02:13:17 +08:00
Merge pull request #12584 from mikehaertl/12580-strict-yii-js
Issue #12580 Make yii.js comply to js strict mode
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
octicon-diff(16/tw-mr-1) 2 changed files with 2 additions and 1 deletions
@@ -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
|
||||
-------------------
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user