-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZIM 2.0 - Introducing DUO - two ways to do params
Created zob() function for ZIM Wrap that lets you pass in parameters the old way or as a single object with parameters as properties. For example: function test(a,b,c){}; test(1,null,3); test({a:1,c:3}); Went through and changed perhaps 60 ZIM functions and classes to use the DUO technique. So... all ZIM 2.0 should work backwards compatible and then the new functionality sits on top for an extra 3K. Primarily because for the minified, the parameters need to be repeated as a string.
- Loading branch information
Showing
10 changed files
with
6,158 additions
and
177 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.