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
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle' | |
| }); |
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
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| }); |
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
| name value | |
| Locke 4 | |
| Reyes 8 | |
| Ford 15 | |
| Jarrah 16 | |
| Shephard 23 | |
| Kwon 42 |
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
| <!DOCTYPE html> | |
| <style> | |
| .chart div { | |
| font: 10px sans-serif; | |
| background-color: steelblue; | |
| text-align: right; | |
| padding: 3px; | |
| margin: 1px; | |
| color: white; |
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
| // ========================================================================== | |
| // Project: Ember EasyForm | |
| // Copyright: Copyright 2013 DockYard, LLC. and contributors. | |
| // License: Licensed under MIT license (see license.js) | |
| // ========================================================================== | |
| // Version: 1.0.0.beta.1 | |
| // Copyright: Copyright 2013 DockYard, LLC. and contributors. |
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
| // ========================================================================== | |
| // Project: Ember EasyForm | |
| // Copyright: Copyright 2013 DockYard, LLC. and contributors. | |
| // License: Licensed under MIT license (see license.js) | |
| // ========================================================================== | |
| // Version: 1.0.0.beta.1 | |
| // Copyright: Copyright 2013 DockYard, LLC. and contributors. |
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
| for(field in task.DisplayFields){ | |
| var path = task.DisplayFields[field].split('.'); | |
| var property = task; | |
| for(subpath in path){ | |
| property = property[path[subpath]] | |
| } | |
| DisplayAssociativeArray[task.DisplayFields[field]] = property; | |
| } |
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
| /* | |
| given that | |
| ObjectA = sourceObject | |
| ObjectB = destinationObject | |
| it will fill Object b with the field in Object A | |
| ObjectA{ |
NewerOlder