v1.2.0

@kuroda kuroda released this Aug 29, 2015 · 144 commits to master since this release

Cape

  • Cape.createComponentClass() and Cape.createDataStoreClass() take an object
    that includes constructor key to override the class constructor.

Cape.Component

  • #formData returns array of values when the name of checkbox field has [] in the end.
  • Fix a bug that prevents hidden field rewrite. Backported as v1.0.2 and v1.1.1.
  • Fix a bug that tampers other forms. Backported as v1.0.3 and v1.1.2.
  • The inner (private) attribute virtualForms has been made public.
  • Add #checkedOn which returns a boolean value that shows if a check box is checked or not.
  • Fix #10 "Caret position gets reset after refresh()".

Cape.VirtualForms

  • Add a new class called Cape.VirtualForms, which provides functionality to
    get and set the values of form controls generated by the virtual dom.
    This class is to be used by an instance of Cape.Component internally.

Cape.MarkupBuilder

  • Three inner (private) attributes (formName, selectBoxName, and fieldNamePrefix) have
    been made public.

Cape.DataStore

  • Allow the constructor of Cape.DataStore to take option values.
  • Allow Cape.DataStore.create() to accept option values for constructor.

Cape.ResourceAgent

  • Add a new class called Cape.ResourceAgent, which holds a single object and
    performs Ajax requests using fetch API.

Cape.CollectionAgent

  • Add a new class called Cape.CollectionAgent, which holds a collection of
    objects and performs Ajax requests using fetch API.

Downloads