add a featureToggle property to ide.

This commit is contained in:
Shane Kilkelly 2016-04-19 11:53:27 +01:00
parent fbf5d35fa5
commit d54515a9a7

View file

@ -124,5 +124,8 @@ define [
catch err
console.error err
# User can append ?ft=somefeature to url to activate a feature toggle
ide.featureToggle = location?.search?.match(/^\?ft=(\w+)$/)?[1]
angular.bootstrap(document.body, ["SharelatexApp"])