semantic-dom-selectors -----> ember-semantic-test-helpers
| |
| |
| |
qunit-semantic-assertions ------
|
|
|
qunit-dom
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 Helper from 'ember-helper'; | |
export default Helper.extend({ | |
compute(params, hash, options) { | |
let isBlock = !!options.template.yield; | |
// when used as a block | |
if (isBlock) { | |
options.template.yield(params); | |
} |
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
class BaseClass { | |
static baseMethod () { console.log("Hello from baseMethod"); } | |
} | |
class MyClass extends BaseClass { | |
constructor(props) { | |
super(props); | |
} | |
static Woo () { |
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
async install(repo){ | |
this.github = await User.githubClient(this.user.id); | |
repo = await this.saveRepo(repo); | |
await this.savePullRequests(repo); | |
await this.ensureInstallerIsMember(repo); | |
return this.saveLabels(repo); | |
} | |
install(repo){ |
These are my thoughts, on how the translation files should be modeled, take into consideration the following postulates:
- Web applications are modeled around their data.
- Web applications data models have the following states.
- Saved
- Deleted
- Updated
- Empty
- Created
- Loading
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' | |
}); |
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; |