Closed cssmagic closed 9 years ago
防止用户把链接的 href 值(hash 或 hashbang)直接复制到 actionList 的键名(即 action name)处。
href
#
!
最终达到的效果应该和从链接 href 值取 action name 的方式完全一致(新建一个私有方法来做这件事吧)。
Solved by commit 1fbe27ceb436e13b85130b24e343aad41ee429e9 in PR #3.
目的
防止用户把链接的
href
值(hash 或 hashbang)直接复制到 actionList 的键名(即 action name)处。做法
#
和!
字符最终达到的效果应该和从链接
href
值取 action name 的方式完全一致(新建一个私有方法来做这件事吧)。