client/skr/Extension.coffee in stockor-0.3.0 vs client/skr/Extension.coffee in stockor-0.4.0
- old
+ new
@@ -21,12 +21,16 @@
if klass
klass.Templates = choices
else
console.log "Unable to find model for #{type}"
+ title: ->
+ "Stockor"
+
rootComponent: (viewport) ->
Lanes.Workspace.Layout
- preferenceElement: (props) ->
- React.createElement(SC.UserPreferences, key: 'skr')
- settingsElement: (props) ->
- React.createElement(SC.SystemSettings, key: 'skr')
+ getPreferenceElement: (props) ->
+ React.createElement(SC.UserPreferences, props)
+
+ getSettingsElement: (props) ->
+ React.createElement(SC.SystemSettings, props)