Permalink
Fetching contributors…
Cannot retrieve contributors at this time
134 lines (104 sloc) 2.7 KB
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