diff --git a/CHANGELOG b/CHANGELOG index 39bc018d..c213f917 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,8 @@ -0.5.2 --------------------------------------------------------- +0.5.2 (2019-01-30) +-------------------- - BUG修复模块 * 修正低版本跨域代理文件发送请求时先序列化对象 + * 修正 util/cache/list 模块隐式声明导致的全局变量污染 0.5.1 (2018-10-11) -------------------------------------------------------- diff --git a/bower.json b/bower.json index 23f92283..36780165 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "nej", - "version": "0.5.1", + "version": "0.5.2", "homepage": "https://github.com/genify/nej", "authors": [ "genify " diff --git a/package.json b/package.json index bbc30c13..94497a33 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nej-framework", "description": "JavaScript Cross-Platform Framework", - "version": "0.5.1", + "version": "0.5.2", "license": "MIT", "keywords": [ "nej", diff --git a/src/util/cache/list.js b/src/util/cache/list.js index ba773ed1..b16822a1 100644 --- a/src/util/cache/list.js +++ b/src/util/cache/list.js @@ -862,7 +862,7 @@ NEJ.define([ data:_options.data||{}, key:(''+_options.key)||'' }; - _item = this._$getItemInCache(_id); + var _item = this._$getItemInCache(_id); _ropt.data[this.__key] = _id; // hit in memory if (!!_item&&