From e64e3889137f5c9fda0bb4cc9e3389b15ba9b98b Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Thu, 2 Nov 2017 15:55:10 +0000 Subject: [PATCH] Add console helpers to editor, to turn on token-access-ui --- services/web/public/coffee/ide.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/web/public/coffee/ide.coffee b/services/web/public/coffee/ide.coffee index d2cafb7cef..495c02e12a 100644 --- a/services/web/public/coffee/ide.coffee +++ b/services/web/public/coffee/ide.coffee @@ -82,6 +82,11 @@ define [ } $scope.user = window.user $scope.__enableTokenAccessUI = window.enableTokenAccessUI == true + # TODO: remove after rollout and testing + window.turnOnTokenAccessUI = () -> + $scope.__enableTokenAccessUI = true + window.turnOffTokenAccessUI = () -> + $scope.__enableTokenAccessUI = false $scope.$watch "project.features.trackChangesVisible", (visible) -> return if !visible?