app/assets/javascripts/models/setup.coffee in kindred-0.0.3 vs app/assets/javascripts/models/setup.coffee in kindred-0.0.4
- old
+ new
@@ -1,10 +1,13 @@
class App.Setup
- constructor: (@opts) ->
+ constructor: (@opts, meta_data) ->
@_set_name_properties()
@_set_self()
@opts ||= {}
+
+ if meta_data?
+ @meta = meta_data["meta"]
@attributes = {}
template = @opts.template || App[@constructor.name].template
@_set_opts_to_attributes()