forked from davidderaedt/annotate-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_dummy.js
64 lines (34 loc) · 1.16 KB
/
test_dummy.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*jslint vars: true, plusplus: true, devel: true, nomen: true, regexp: true, indent: 4, maxerr: 50 */
/*global define, $, brackets, window */
/** This file is only used to be tested against annotate */
define(function (require, exports, module) {
'use strict';
var greetings = "Hello world";
function declaration(input) {
var content = "stuff";
}
var expression = function(p1, p2) {
var content = "stuff";
};
function noParams() {
return null;
}
var _privateStuff = function(p1, p2) {
var content = "I start with an underscore";
};
var myObject = {};
myObject.myFunction = function (param1, param2, param3) {
};
myObject.prototype.myFunction = function (param1, param2) {
};
var a = {
doA: function(param1, param2){
var content = "stuff";
return content;
},
doB: function(param1, param2){
var content = "stuff";
return content;
}
};
});