-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathChangeLog
133 lines (104 loc) · 2.7 KB
/
ChangeLog
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
2011-10-19 Version 1.4.6
New: return indent supported
return a +
b +
c;
Fix: failed indent for
var a,
// ca
b,
/* cb */
c;
2011-10-14 Version 1.4.5
Fix: float indent level is invalid in vim 7.3
Fix: failed indent for
var a = /reg/,
c = 'bar'
Optimize code
2011-10-13 Version 1.4.4
Fix: failed indent for
(a / b); // c (
Fix: failed indent for
'' + "'" + // ' (
Fix: failed indent in Brief Mode for
foo (a(b,
c)) {
aoeu
}
2011-07-24 Version 1.4.3
Fix: failed indent in brief mode, and optimize in normal mode for code
{
console.info((function() {
}).something);
next();
}
2011-04-25 Version 1.4.2
Update: Add option g:SimpleJsIndenter_CaseIndentLevel
2011-04-23 Version 1.4.1
Update: Indent current line when input } ) ]
See https://github.com/jiangmiao/simple-javascript-indenter/issues/4
Update: Change comment indentation style
See https://github.com/jiangmiao/simple-javascript-indenter/issues/5
2011-03-26 Version 1.4.0
New: Support switch case indenting.
2011-03-22 Version 1.3.4
Fix: failed indent for
function escapeattr(b) {
return b ? b.replace(/([\.#\[\]])/ig, "\\$1") : ""
}
https://github.com/jiangmiao/simple-javascript-indenter/issues#issue/1 (Thanks to whentp)
2011-01-08 Version 1.3.3
FIX: failed indent for
test(/*a'*/b,'c') {
foo();
}
2011-01-07 Version 1.3.2
FIX: failed indent for
function a() {
$('"', {'b'}, function() {
});
}
2010-11-22 Version 1.3.1
FIX: failed indent for
query = query.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
// Only use querySelectorAll on non-XML documents
{
for ( var type in Expr.match ) {
Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) );
Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)\/*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) );
}
}
FIX: failed indent for
function a() {
test(["hello",
"world",
"a",
"b"
])
}
FIX: failed indent for
function( a ) {
b( this,
c(),
d() );
},
2010-09-23 Version 1.3.0
New Feature: Brief Mode
2010-09-08 Version 1.2.1
Some optimize
2010-09-08 Version 1.2.0
Support: indent for if, else, else if, while, try, catch, finally
without brackets
2010-09-07 Version 1.1.2
FIX: indent error for regexp
2010-09-07 Version 1.1.1
FIX: indent error for code
if( A ||
B &&
C)
{
}
2010-09-06 Version 1.1.0
NEW: Support indent for assign variables.
2010-09-05 Version 1.0.1
Fix comment issue isn't solved after whole reindent if the first line is blank