kissyteam / kissy

A Powerful Collection Of Modules
http://docs.kissyui.com
2.7k stars 863 forks source link

unparam: error when encouter '=' #202

Closed yiminghe closed 12 years ago

yiminghe commented 12 years ago

KISSY Version :

all

Browsers :

all

What steps will reproduce the problem?

      alert(KISSY.unparam("x=3=4").x)

Expected

alert(3=4)

actual

alert(3)

yiminghe commented 12 years ago

https://github.com/kissyteam/kissy/blob/24be6fbd1d4df84705f173bec4ad621437783c7e/src/seed/tests/specs/lang-spec.js#L106