Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit ae8b909

Browse files
author
Dean Sofer
committed
Fix #5
1 parent d85ea2b commit ae8b909

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ define(function (require, exports, module) {
5656
var attribute = hostEditor._codeMirror.getTokenAt({line: pos.line, ch: token.start - 2}, true);
5757

5858
// Return valid function expressions only (function call or reference)
59-
if (!(attribute.string==="ng-controller")) {
59+
if (!~attribute.string.indexOf("ng-controller")) {
6060
return null;
6161
}
6262

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "AngularJS for Brackets",
44
"description": "AngularJS extension for Brackets by the AngularUI team",
55
"homepage": "https://github.com/angular-ui/AngularJS-brackets",
6-
"version": "1.1.0",
6+
"version": "1.1.1",
77
"author": "AngularUI (http://angular-ui.github.io)",
88
"license": "MIT",
99
"engines": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /