forked from knockout/knockout
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace ko.expressionRewriting.parseObjectLiteral with a parser that'…
…s three times as fast and 2/3 the size (over 400 bytes smaller, minified). It also eliminates extra white-space in the string, requiring fewer 'stringTrim' calls, and strips the quotes from keys so they're consistent. The spec changes are about the removed white-space and quotes, and a new spec shows how removing spaces and quotes fixes a problem. Also includes an improved stringTrim.
- Loading branch information
Showing
3 changed files
with
92 additions
and
141 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
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