mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add a featureToggle
property to ide.
This commit is contained in:
parent
fbf5d35fa5
commit
d54515a9a7
1 changed files with 3 additions and 0 deletions
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue