diff options
author | Yuchen Pei <hi@ypei.me> | 2022-09-19 11:22:21 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-09-19 11:22:21 +1000 |
commit | ef1b927861f9a949aed20341144ffb5bfd42f038 (patch) | |
tree | 48bd4688928546bedc6504aad76bf6e0327fcef9 /javascript/app/components/type-signature.js | |
parent | 117850d8f659517cb818a857dc04c8f5157795c4 (diff) |
Removing the web client
Diffstat (limited to 'javascript/app/components/type-signature.js')
-rw-r--r-- | javascript/app/components/type-signature.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/javascript/app/components/type-signature.js b/javascript/app/components/type-signature.js deleted file mode 100644 index 8e7545f..0000000 --- a/javascript/app/components/type-signature.js +++ /dev/null @@ -1,23 +0,0 @@ -import Ember from 'ember'; -export default Ember.Component.extend({ - tagName : "span", - expandTypeSynonyms: false, - expandTypeSynonymsLabel : Ember.computed('expandTypeSynonyms',function() { - return this.get('expandTypeSynonyms') ? "Show type synonyms" : "Expand type synonyms"; - }), - components : Ember.computed('type','expandTypeSynonyms',function() { - if(this.get('expandTypeSynonyms') && this.get('type.componentsExpanded')) { - return this.get('type.componentsExpanded'); - } else { - return this.get('type.components'); - } - }), - typeObserver : Ember.observer('type',function() { - this.set('expandTypeSynonyms',false); - }), - actions : { - toggleExpandTypeSynonyms () { - this.toggleProperty('expandTypeSynonyms'); - } - } -}); |