History for MVCommons/MVCommons.js
Commits on Dec 4, 2015
-
Added MVC.isObject Fixed a possible bug in MVC.ajaxLoadFile where it would check is status < 200, not < 400 Deprecated the StorageManager additions. These have been moved to the zAPI function, and are better implemented in that plugin. All functions provided to the StorageManager by the MVCommons now display a deprecation message in the console. Removed DataManager bindings to the additions to the StorageManager. They were horribly broken anyway, and the StorageManager additions have been deprecated. Changed the array min/max functions to only be added if they don't already exist. Added some functions to the String type, if they don't already exist (endsWidth, dirname, basename, escape, splice).
Zalerinian committedDec 4, 2015
Commits on Nov 9, 2015
-
Added functions to allow arrays to call the min/max functions on themselves for easy clamping of multiple values.
Zalerinian committedNov 9, 2015
Commits on Nov 2, 2015
-
Update PluginManagement to support renamed plugins
Developers can now insert a plugin ID into their plugin's description using the format <pluginID MyID> (case-insensitive), which will allow the plugin to still get its parameters if the game developer renames the plugin file. Alternatively, game developers can include ",OriginalName" in the renamed file to allow the renamed plugin to get it's parameters. If plugins are renamed, the ID in the description is checked first, followed by the file name check. If neither check returns a match, an empty JS object is returned.
Zalerinian committedNov 2, 2015
Commits on Nov 1, 2015
-
Fixed undefined var xmlhtpp in ajaxLoadFileAsynch
Zalerinian committedNov 1, 2015 -
Added default mimeType for ajaxLoadFile functions
Zalerinian committedNov 1, 2015
Commits on Oct 28, 2015
-
Added @Private handle to help documentation tools mark it as private
holywyvern committedOct 28, 2015
Commits on Oct 27, 2015
-
Added quite a bit of documentation for things that didnt have any, also neatened up the code and formatting on some things, added MVC.VERSION and MVC.VERSION_DATE at the top of MVC, to make it easier to remember to update it there as well - which is used within the plugin management registration.
Dekita committedOct 27, 2015
Commits on Oct 26, 2015
-
Added degrees -> radians and randians -> degrees functions (even if they are quite easy to know...) Aded a safe eval, wich is an eval with try catch, usefull to stop things from working...
holywyvern committedOct 26, 2015 -
Hudell committed
Oct 26, 2015 -
Hudell committed
Oct 26, 2015 -
Added naturalBoolean to check types more "naturally" so now, not only true in that function is "true"
holywyvern committedOct 26, 2015
Commits on Oct 25, 2015
-
Removed console.log in register
If a plugin registered with dependencies, the register function would print the array of plugins to the console. This has been removed. Because this does not change any functionality, the version number will not be changed.
Zalerinian committedOct 25, 2015 -
Updated the description of MVC#boolFunc
Zalerinian committedOct 25, 2015 -
Restored StorageManager functions
Several functions in the StorageManager (which were also Aliased to the DataManager) have been restored after a lengthy game of hide-and-seek with the correct files.
Zalerinian committedOct 25, 2015 -
Added a way to prevent undefined for eval values.
holywyvern committedOct 25, 2015
Commits on Oct 24, 2015
-
Zalerinian committed
Oct 24, 2015 -
Fixed deepClone and shallowClone
Deep Clone referenced both obj and object, but should have only referenced obj. Shallow Clone had called Deep Clone in the event of an array, but this has been changed to Shallow Clone.
Zalerinian committedOct 24, 2015
Commits on Oct 23, 2015
-
Fixed typo when aliasing ajaxLoadFile and ajaxLoadFileAsync into MVC.
Zalerinian committedOct 23, 2015 -
Fixed small issue with data loading
Fixed MVC.loadFile checking fi status == 200 (should be < 400) Aliased data-related functions into the DataManager.
Zalerinian committedOct 23, 2015 -
Dekita's name got cut off in the author box before. I have fixed this.
Zalerinian committedOct 23, 2015 -
The MVCommons (MVC) plugin is a Software Development Kit (SDK) intended to help plugin makers by providing a standard way to do common functions.
Dekita committedOct 23, 2015