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 { Readable } from 'stream'; | |
import { LocationSpec } from '@backstage/catalog-model'; | |
import { | |
results, | |
CatalogProcessor, | |
CatalogProcessorEmit, | |
} from '@backstage/plugin-catalog-backend'; | |
import { Storage, StorageOptions } from '@google-cloud/storage'; | |
import YAML from 'yaml'; |
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 thing = 0; | |
@tracked newCategory = ''; | |
@action pushCategory(e) { | |
this.thing += 1; | |
} |
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({ | |
sums: Ember.computed('x', 'y', function() { | |
return {xy: this.get('x') + this.get('y')}; | |
}) | |
}); |
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', | |
init(...args) { | |
this._super(...args); | |
this.set('myHugeArray', []); | |
}, | |
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({ | |
foo: Ember.inject.service(), | |
actions: { | |
myAction(foo) { | |
foo.bar(); | |
} | |
} | |
}); |
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', | |
foo: Ember.computed(function() { | |
console.log("hello"); | |
}).volatile(), | |
actions: { | |
clickMe() { |
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
http://cloc.sourceforge.net v 1.60 T=9.90 s (142.2 files/s, 5309.6 lines/s) | |
------------------------------------------------------------------------------- | |
Language files blank comment code | |
------------------------------------------------------------------------------- | |
Javascript 1397 8499 3370 40521 | |
Bourne Shell 7 17 0 60 | |
make 1 14 2 47 | |
YAML 3 5 0 34 | |
------------------------------------------------------------------------------- | |
SUM: 1408 8535 3372 40662 |