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 Component from '@glimmer/component'; | |
import { tracked } from '@glimmer/tracking'; | |
import { action } from '@ember/object'; | |
export default class extends Component { | |
@tracked tags = []; | |
@action addTag(event) { | |
if(event.data === " ") { | |
this.tags = [...this.tags, event.target.value]; | |
event.target.value = ""; |
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 Component from '@glimmer/component'; | |
import { tracked } from '@glimmer/tracking'; | |
import {action} from '@ember/object'; | |
export default class extends Component { | |
} |
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
~/g/q/qaul.net (lk|✚1…2)> env RUST_BACKTRACE=1 cargo run --bin multinode-test ./webgui/dist/ > file.txt | |
warning: unused import: `dir::Dirs` | |
--> alexandria/src/core/api.rs:4:5 | |
| | |
4 | dir::Dirs, | |
| ^^^^^^^^^ | |
| | |
= note: `#[warn(unused_imports)]` on by default | |
warning: unused variable: `root` |
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 Component from '@glimmer/component'; | |
import {action} from '@ember/object'; | |
import {tracked} from '@glimmer/tracking'; | |
export default class extends Component { | |
@tracked selected = []; | |
@action select(event) { | |
this.selected = [...this.selected, event.target.value]; | |
event.target.value = ""; | |
} | |
} |
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 Component from '@glimmer/component'; | |
import {action} from '@ember/object'; | |
import {tracked} from '@glimmer/tracking'; | |
export default class extends Component { | |
@tracked selected = []; | |
@action select(event) { | |
this.selected = [...this.selected, event.target.value]; | |
event.target.value = ""; | |
} | |
} |
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 Component from '@ember/component'; | |
export default Component.extend({ | |
init() { | |
this._super(...arguments); | |
this.send('foo', "test"); | |
}, | |
actions: { | |
foo(arg) { | |
console.log(arg); |
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 Component from '@ember/component'; | |
export default Component.extend({ | |
init() { | |
this._super(...arguments); | |
this.send('foo', "test"); | |
}, | |
actions: { | |
foo(arg) { | |
console.log(arg); |
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 Component from '@ember/component'; | |
export default Component.extend({ | |
init() { | |
this._super(...arguments); | |
this.send('foo', "test"); | |
}, | |
actions: { | |
foo(arg) { | |
console.log(arg); |
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 Controller from '@ember/controller'; | |
const data = (function *() { | |
yield 1; | |
yield 2; | |
})(); | |
export default class ApplicationController extends Controller { | |
data = data; | |
} |
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 Controller from '@ember/controller'; | |
function Range(start, end) { | |
var ret = {}; | |
ret[Symbol.iterator] = function *() { | |
while (start < end) | |
yield start++; | |
} | |
return ret; | |
} |