This file contains 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
// ==UserScript== | |
// @name WNR Mention Highlighter | |
// @version 2.0.0 | |
// @description Expands all Facebook comments & scrolls to first WNR mention | |
// @author Anna Andresian / Jens-Ingo Farley | |
// @match https://www.facebook.com/*/posts/* | |
// @match https://www.facebook.com/*/permalink/* | |
// @exclude https://www.facebook.com/groups/101246983651019/* | |
// @exclude https://*comment_id* | |
// @grant none |
This file contains 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
// ==UserScript== | |
// @name WNR Mentions Collector | |
// @version 3.4.0 | |
// @description Save data associated with the first mention notification on the page | |
// @author Anna Andresian | |
// @match https://www.facebook.com/whitenonsenseroundup/notifications/ | |
// @grant none | |
// ==/UserScript== | |
(function() { |
This file contains 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({ | |
routeName: null, | |
isLinkEnabled: true | |
}); |
This file contains 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'; | |
const { computed } = Ember; | |
function _copyMap(originalMap) { | |
const newMap = new Map(); | |
originalMap.forEach((value, key) => { | |
newMap.set(key, value); | |
}); |
This file contains 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({ | |
}); |
This file contains 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: 'With vs. Let' | |
}); |
This file contains 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({ | |
classNameBindings: ['isCompact:font-size-centi'] | |
}); |
This file contains 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'; | |
const { $ } = Ember; | |
export default Ember.Controller.extend({ | |
valueToEncode: null, | |
encodedValue: '- - - - - ', | |
valueToDecode: null, | |
decodedValue: '- - - - -', |
This file contains 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({ | |
store: Ember.inject.service(), | |
init() { | |
this._super(...arguments); | |
const crust1 = this.get('store').createRecord('pizza-crust', { | |
id: 'crust-1' | |
}); |
This file contains 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({ | |
featureFlags: Ember.inject.service(), | |
actions: { | |
toggleFeatureFlag(flagName) { | |
this.get('featureFlags').toggleFeatureFlag(flagName); | |
} | |
} |
NewerOlder