Skip to content
This repository
Fetching contributors…


Cannot retrieve contributors at this time

file 107 lines (91 sloc) 5.767 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
  - Models being loaded by the FormView will now call
    beforeFormLoad methods if they exist on those models

  - Adds many style fixes for GridView
  - Fixes style conflicts for Bootstrap grid-* css selectors
  - Adds getForm() and getModel() methods to Luca.Field classes that belong to a form

  - Adds checkbox group field component ( thanks nick desteffen )

  - Stop mixing in underscore.string onto the global underscore object
  - the ctype property used to create objects from hashes, can now be named 'type'
  - Adds Luca.util.classify function for converting strings into class names

  - Fixes bug in development console
  - Colorizes Development Console
  - Introduces Luca.template helper to find template by regex in Luca.templates
    or window.JST. Optionally compiling the template if you pass variables to it.
  - Introduces Luca.View.applyStyles which delegates to @$el.css

  - Luca.define() can be used to extend components, and retain references
    to the inheritance chain. Components defined this way will have
    _className attributes as well as _superClass() references. This
    allows for introspection of components as well as advanced
    querying of the Luca Component Cache

  _ Added _.def as an alias to Luca.define

  - All Luca components have been migrated over to the new Luca.define() API

  - Luca.ModalView has been refactored to use Twitter Bootstrap Modal
  - Luca.Application now has keyEvents API for handling keypress
    events and delegating them properly
  - Luca.containers.CardView has been refactored to be more inline with base container
  - Luca.View gets $append, $html, $container jQuery helpers. shortcut for @renderToEl().append, etc
  - Luca.View gets @bodyTagName, @bodyTemplate properties.
      - @bodyTemplate references a JST template which automatically gets added
      via $html if present, immediately when the view is rendered
      - @bodyTagName is where $append, $html will insert content, otherwise defaults to @$el
  - Luca.View has $bodyEl() method which points to $(@bodyTagName) or $(@el) ( default )

  - Luca.core.Container now uses bodyTemplate to render
  - Luca.Collection.cached property is now deprecated. use @cache_key instead
  - introducing Luca.Collection.cachedMethods property. any method on the
    collection which is listed here, will have its return value memoized upon
    first being called. Whenever the collection is reset or changed, this
    value will be cleared, and then the next call will be cached, and so on

  - Added development mode helpers to Luca.View to aid in browser editing
  - Added configuration for @deferrable rendering system for Luca.View
  - Added isComponent and supportsBackboneEvents helpers
  - Added componentEvents configuration sugar to Luca.core.Container classes
    @componentEvents allows for a container to bind to events on its children
  - major work on component tester
  - the development console component now extends from Luca.core.Panel instead of the ModalView
  - Added _super() method which accepts a method name, context, and arguments array
    and is the equivalent to applying the component you extend from prototype method
    with @, arguments
  - Added component.once, as an alias for binding to an event and firing a callback one time
  - Added component.defer(operation).until(object,trigger) as wrapper around .once binding.
    operation can be a string, or a function, and the call to until accepts an object and
    the name of a trigger to listen for on that object. if you just pass a trigger, object is implicitly the component
  - Luca() is now a global helper for finding views, querying the cache, lazily creating objects, etc. smart enough
    to know what you want from it based on the input
  - window.Luca now mixes in Backbone.Events and Luca.Events. triggers events whenever components are registered or created

  - Refactored Panel View to incorporate Load Mask and Top and Bottom Toolbar
  - Refactored GridView and FormView to inherit from Luca.components.Panel
  - Added @additionalClassNames property to Luca.View.
  - GridView and FormView can not have an automatic load mask effect based on Twitter's progress bar.
    Simply trigger enable:loadmask and disable:loadmask on any view where loadMask is set to true

  - Introducing Luca.components.CollectionView

  - Bugfix Release

  - FormView has errorMessage, successMessage methods which use twitter bootstrap alerts as flash message
  - FormView toolbar accepts new options: true, both, bottom, or top
  - Luca.Collection has a property @remoteFiltering which makes applyFilter always use remote fetch
  - Bugfix in GridView collection change handler
  - Added Luca.isViewPrototype, Luca.isModelPrototype, Luca.isCollectionPrototype helpers
  - Added configuration option to control auto registration of components with the registry
  - Added Luca.parentClass and Luca.inheritanceChain methods for inspecting a component or prototype
  - Changed single instance tracking mechanism on CollectionManager. Will throw an error if more than one
    is created without specifying a name.
  - Added Luca.getCollectionManager() helper as an Alias for Luca.CollectionManager.get()
  - Luca.getApplication() and Luca.getCollectionManager() accept a name argument
  - Classes like Luca.Application and Luca.CollectionManager which normally are singletons
    can have more than one instance if a unique name is given

  - CardViews and Controllers set data attributes on their elements for the active card / page
  - Added convenience methods to container 'pluck', 'invoke'
  - Added methods to Controller for ease of autogenerating routes
Something went wrong with that request. Please try again.