This file contains 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
// ========================================================================== | |
// Project: VariableViewer.appController | |
// Copyright: ©2009 My Company, Inc. | |
// ========================================================================== | |
/*globals VariableViewer SharedVariableEngine*/ | |
/** @class | |
(Document Your Controller Here) |
This file contains 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
progressBar: SC.ProgressView.design({ | |
layout: { | |
left: 5, | |
right: 5, | |
top: 30 | |
}, | |
value: 50, | |
minimum: 0, | |
maximum: 100 | |
}) |
This file contains 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
progressBools: SC.WellView.design({ | |
layout: { | |
top: 151, centerX: 0, height: 50, right:5, left:5 | |
}, | |
childViews: 'view1'.w(), | |
view1: SC.View.design({}) | |
}) |
This file contains 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
// This is in the controller | |
formatExposureTitle: function () { | |
SC.RunLoop.begin(); | |
var value = ExposureViewer.getPath('exposureNumber.value'); | |
console.log(value); | |
console.log('formattedExposure!'); | |
this.set('formattedExposure','Exposure #' + value); | |
SC.RunLoop.end(); | |
}.observes('ExposureViewer.exposureNumber','ExposureViewer.exposureNumber.value') |
This file contains 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
// ========================================================================== | |
// Project: ExposureViewer.mainController | |
// Copyright: ©2010 My Company, Inc. | |
// ========================================================================== | |
/*globals ExposureViewer StandardViews*/ | |
/** @class | |
(Document Your Controller Here) |
This file contains 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
// ========================================================================== | |
// Project: ExposureView | |
// Copyright: ©2010 My Company, Inc. | |
// ========================================================================== | |
/*globals ExposureView */ | |
/** @namespace | |
My cool new framework. Describe your framework. | |
This file contains 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
// ========================================================================== | |
// Project: ExposureView | |
// Copyright: ©2010 My Company, Inc. | |
// ========================================================================== | |
/*globals ExposureView */ | |
/** @namespace | |
My cool new framework. Describe your framework. | |
NewerOlder