Rev 162 | Rev 164 | Go to most recent revision | Compare with Previous | Directory listing | View Log | RSS feed
* string.js
- Optimized comparisons (use `===' where feasible)
- No blocks for simple `else' and `return' statements
- sprintf():
+ Streamlined variable declarations
+ Added support for property-name based formatting
+ Optimized `a' conversion
+ Unified specifier order in switch-case
+ Fixed `b' and `o' conversion
+ Added support for alternative format for `o' and `x' conversion
+ Optimized i/u conversion using `>>>'
+ Added field width support for left-handed spacing with pad()
- pad():
+ Copied to jsx.string namespace
+ Supports more efficient Array.prototype.join.call()
for width < 2^32| Path | Blame | Diff | Log |
|---|---|---|---|
| /trunk/string.js |
|
|
![]() |