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
Verifying my Blockstack ID is secured with the address 1EH49SpZ6osghFWUTPt9CwEVFDsBXnRxpQ https://explorer.blockstack.org/address/1EH49SpZ6osghFWUTPt9CwEVFDsBXnRxpQ |
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
// `adapters/application.js` | |
import Ember from 'ember'; | |
import DS from 'ember-data'; | |
import DataAdapterMixin from 'ember-simple-auth/mixins/data-adapter-mixin'; | |
const { service } = Ember.inject; | |
import config from '../config/environment'; | |
export default DS.JSONAPIAdapter.extend(DataAdapterMixin, { | |
authorizer: 'authorizer:devise', |
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
/** | |
* Safely removes YT player from DOM | |
* @param {object} ytplayer | |
* @param {objext} $wrapper | |
* @return {bool} | |
*/ | |
function cleanYTRemove(ytplayer, $wrapper) { | |
// Do shutdown so IE doesn't freak... | |
if (typeof ytplayer != 'undefined' && typeof ytplayer.div != 'undefined') { | |
// Destroy the Youtube player object |