Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
// Some content here.
2
var code = 'hello';
3
 
4
// This comment contains # multiple
5
// hash signs (#).
6
code = 'hello';
7
 
8
/**
9
 * This is the first line of a function comment.
10
 * This is the second line.
11
 */
12
function testFunction()
13
{
14
    // Callback methods which are added by external objects.
15
    this.callbacks = {};
16
 
17
}//end testFunction()
18
 
19
/**
20
 * This is the first line of a class comment.
21
 * This is the second line.
22
 */
23
myClass.prototype = {
24
 
25
    /**
26
     * This is the first line of a method comment.
27
     * This is the second line.
28
     */
29
    load: function(url, callback)
30
    {
31
        // Some code here.
32
 
33
    }
34
};
35
 
36
// some code goes here!
37
 
38
/*
39
    A longer comment goes here.
40
    It spans multiple lines!!
41
    Or does it?
42
*/
43
 
44
// 0This is a simple multi-line
45
// comment!
46
code = 'hello';
47
 
48
//This is not valid.
49
code = 'hello';
50
 
51
//  Neither is this!
52
code = 'hello';
53
 
54
//
55
code = 'hello';
56
 
57
/** Neither is this! **/
58
code = 'hello';
59
 
60
/**
61
 * This is the first line of a function comment.
62
 * This is the second line.
63
 */
64
var myFunction = function() {
65
}
66
 
67
/**
68
 * This is the first line of a function comment.
69
 * This is the second line.
70
 */
71
myFunction = function() {
72
}
73
 
74
/**
75
 * This is the first line of a function comment.
76
 * This is the second line.
77
 */
78
myClass.myFunction = function() {
79
}