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.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| model: (function() { | |
| return ['abc', 'foo', 'bar', 'baz']; | |
| }).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
| import Ember from 'ember'; | |
| import myTemplate from '../templates/suggestion-template' | |
| export default Ember.Controller.extend({ | |
| suggestionTemplate: myTemplate, | |
| getDisplayString : function(suggestion) { | |
| if(typeof suggestion === "string") | |
| return suggestion; | |
| return suggestion.text; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| from __future__ import absolute_import, print_function, division, unicode_literals | |
| import time | |
| import math | |
| import sys | |
| import os, errno | |
| def makedirs(dirname): | |
| """Creates the directories for dirname via os.makedirs, but does not raise | |
| an exception if the directory already exists and passes if dirname="".""" |
NewerOlder