Add useful comment for emberscript future

This commit is contained in:
2014-11-21 18:25:59 +01:00
parent 1d4c1ec964
commit 148a0a2815
@@ -3,6 +3,9 @@ App.modals.SectionArrangeTablesController = App.modals.BaseController.extend
arrange_type: 'distributed' # can be distributed, by_row or by_column arrange_type: 'distributed' # can be distributed, by_row or by_column
row_count: 2 row_count: 2
column_count: 2 column_count: 2
#isDistributed: ~> @arrange_type is 'distributed'
#isByRow: ~> @arrange_type is 'by_row'
#isByColumn: ~> @arrange_type is 'by_column'
isDistributed: (->@get('arrange_type') is 'distributed').property('arrange_type') isDistributed: (->@get('arrange_type') is 'distributed').property('arrange_type')
isByRow: (->@get('arrange_type') is 'by_row').property('arrange_type') isByRow: (->@get('arrange_type') is 'by_row').property('arrange_type')
isByColumn: (->@get('arrange_type') is 'by_column').property('arrange_type') isByColumn: (->@get('arrange_type') is 'by_column').property('arrange_type')