Created
November 26, 2010 11:30
-
-
Save santhotech/716587 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contentBinding: SC.Binding.single('Machines.devicesController.selection'), | |
prop: 10, | |
///* | |
contentDidChange: function() { | |
console.log("called first"); | |
var sum= sum+this.get('prop'); | |
console.log(sum); | |
var content = this.get('content'); | |
var devid = this.content.get('id'); | |
var lad = Machines.mainPage.mainPane.middleView.bottomRightView.custView.get('layerId'); | |
if (!content) return ; | |
//var imageQuery = SC.Query.remote(ImageSearch.GoogleImage, {query: this.get('deviceId')}); | |
Machines.CYCLES_QUERY = SC.Query.local(Machines.Utils, { | |
query: this.content.get('id'), | |
}); | |
var cycles = Machines.store.find(Machines.CYCLES_QUERY); | |
console.log('called'); | |
Machines.devicesController.renderChart(lad,devid); | |
}.observes('content'), | |
//*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment