-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed 0 value problem with null checks (#210)
* fixed 0 value problem with null checks * fixed pushState * introduce safeString, safeArray, safeObject functions * fix up getClassNames as per @hopsoft's suggestion * restored console.log to pass values straight in, also made notification options a safeObject * explicitly cast types * warn and coerce if parameter type is incorrect * introduce safeScalar function * protect url options with safeString
- Loading branch information
Showing
2 changed files
with
78 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters