Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Fix bug in Mode-Changing demo plunker #112

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ <h1>Mode-Changing demo</h1>
</tab>
<tab heading="JavaScript">
<div plunker-content="javascript">
<pre class="prettyprint">function AceCtrl($scope) {
<pre class="prettyprint">app.controller('AceCtrl', AceCtrl);
function AceCtrl($scope) {
// The modes
$scope.modes = [&#39;Scheme&#39;, &#39;XML&#39;, &#39;Javascript&#39;];
$scope.mode = $scope.modes[0];
Expand Down