-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3357 from jafl/javascript-capture-methods-inside-…
…objects JavaScript: capture methods inside objects
- Loading branch information
Showing
9 changed files
with
141 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
AnonymousClass80ca49fb0101 input.js /^var Namespace = Ember.Namespace = Ember.Object.extend=({$/;" c | ||
Namespace input.js /^var Namespace = Ember.Namespace = Ember.Object.extend=({$/;" v | ||
init input.js /^ init: function() {$/;" m class:AnonymousClass80ca49fb0101 | ||
isNamespace input.js /^ isNamespace: true,$/;" p class:AnonymousClass80ca49fb0101 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
var Namespace = Ember.Namespace = Ember.Object.extend=({ | ||
isNamespace: true, | ||
|
||
init: function() { | ||
Ember.Namespace.NAMESPACES.push(this); | ||
Ember.Namespace.PROCESSED = false; | ||
} | ||
}); | ||
|
||
// https://github.com/universal-ctags/ctags/issues/1389 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--fields=+S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
func1 input.js /^ func1: () => {$/;" m class:testobj signature:() | ||
func2 input.js /^ func2: () => {$/;" m class:testobj signature:() | ||
func3 input.js /^ func3: x => {$/;" m class:testobj signature:(x) | ||
testobj input.js /^testobj = {$/;" c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
testobj = { | ||
func1: () => { | ||
console.log('test1'); | ||
}, | ||
func2: () => { | ||
console.log('test2'); | ||
}, | ||
func3: x => { | ||
console.log(x); | ||
} | ||
}; | ||
|
||
// https://github.com/universal-ctags/ctags/issues/1933 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
AnonymousClass6b70cce50101 input.js /^const Bar = Foo.create({$/;" c | ||
Bar input.js /^const Bar = Foo.create({$/;" C | ||
jump input.js /^ jump() {$/;" m class:AnonymousClass6b70cce50101 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Foo from './foo'; | ||
|
||
const Bar = Foo.create({ | ||
jump() { | ||
return 123; | ||
} | ||
}) | ||
|
||
export default Bar; | ||
|
||
// https://github.com/universal-ctags/ctags/issues/780 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters