Merge pull request #285 from Pterodactyl/feature/phrase-in-context

add phraseapp in context editor
This commit is contained in:
Jakob 2017-02-03 00:36:50 +01:00 committed by GitHub
commit 8cac2a3669
7 changed files with 123 additions and 1 deletions

8
public/js/phraseapp.js Normal file
View file

@ -0,0 +1,8 @@
window.PHRASEAPP_CONFIG = {
projectId: '94f8b39450cd749ae9c3cc0ab8cdb61d'
};
(function() {
var phraseapp = document.createElement('script'); phraseapp.type = 'text/javascript'; phraseapp.async = true;
phraseapp.src = ['https://', 'phraseapp.com/assets/in-context-editor/2.0/app.js?', new Date().getTime()].join('');
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(phraseapp, s);
})();