Permalink
Browse files

More concise binding definitions - Fixes #38

  • Loading branch information...
wagenet committed Apr 19, 2011
1 parent be8220b commit 1483f0a010ffad0e312cbd4756a4698617df1589
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/views.textile
View
@@ -201,7 +201,7 @@ bottomRightView: SC.View.design({
usageHint: SC.View.design({
classNames: 'myapp-usage-hint',
- isVisibleBinding: SC.Binding.from('MyApp.contactsController.hasSelection').not(),
+ isVisibleBinding: SC.Binding.not('MyApp.contactsController.hasSelection'),
childViews: [SC.LabelView.design({
layout: { width: 300, height: 22, centerX: 0, centerY: 0 },

0 comments on commit 1483f0a

Please sign in to comment.