Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
fix: set FBP highlight when starting the application first time
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Bottazzini <bruno.bottazzini@intel.com>
  • Loading branch information
Bruno Bottazzini committed Oct 15, 2015
1 parent 2e8aac9 commit 71bdbc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/js/controllers/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
$scope.codeChecked = true;
$scope.svgChecked = true;
$scope.logged = false;
$scope.fbpType = false;
$scope.fbpType = true;
$scope.isServiceRunning = false;
var editor = ace.edit("fbp_editor");
var aceConfig = require("ace/config");
Expand All @@ -86,6 +86,7 @@

$scope.fbpType = true;
aceConfig.set("modePath", "js/ace/");
editor.getSession().setMode("ace/mode/fbp");
$scope.fileViewer = '# Write FBP Code here.';
$scope.buttonSyncDisabled = false;
$scope.nodeSelected = function(e, data) {
Expand Down

0 comments on commit 71bdbc0

Please sign in to comment.