Skip to content

Commits on Dec 4, 2015

  1. Update to 1.5.0

    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 committed Dec 4, 2015

Commits on Nov 9, 2015

  1. Added array min/max

    Added functions to allow arrays to call the min/max functions on themselves for easy clamping of multiple values.
    Zalerinian committed Nov 9, 2015

Commits on Nov 2, 2015

  1. 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 committed Nov 2, 2015

Commits on Oct 28, 2015

  1. Updated private methods

    Added @Private handle to help documentation tools mark it as private
    holywyvern committed Oct 28, 2015

Commits on Oct 27, 2015

  1. Documentation Overhaul

    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 committed Oct 27, 2015

Commits on Oct 26, 2015

  1. Update MVCommons.js

    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 committed Oct 26, 2015
  2. Fixed most JSLint warnings

    Hudell committed Oct 26, 2015
  3. Fixed wrong comma

    Hudell committed Oct 26, 2015
  4. Updated MVCommons to 1.1.0

    Added naturalBoolean to check types more "naturally" so now, not only true in that function is "true"
    holywyvern committed Oct 26, 2015

Commits on Oct 25, 2015

  1. 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 committed Oct 25, 2015
  2. 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 committed Oct 25, 2015
  3. Update MVCommons.js

    Fixed version number at bottom
    holywyvern committed Oct 25, 2015
  4. Update MVCommons.js

    Added a way to prevent undefined for eval values.
    holywyvern committed Oct 25, 2015

Commits on Oct 24, 2015

  1. Update MVCommons.js

    Zalerinian committed Oct 24, 2015
  2. 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 committed Oct 24, 2015

Commits on Oct 23, 2015

  1. Fixed another typo

    Fixed typo when aliasing ajaxLoadFile and ajaxLoadFileAsync into MVC.
    Zalerinian committed Oct 23, 2015
  2. Fixed a typo

    Fixed the ajax prefix being left out in the MVC.
    Zalerinian committed Oct 23, 2015
  3. Fixed small issue with data loading

    Fixed MVC.loadFile checking fi status == 200 (should be < 400)
    Aliased data-related functions into the DataManager.
    Zalerinian committed Oct 23, 2015
  4. Fix author names

    Dekita's name got cut off in the author box before. I have fixed this.
    Zalerinian committed Oct 23, 2015
  5. Create MVCommons.js

    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 committed Oct 23, 2015
You can’t perform that action at this time.