fixing multi_json 1.3.2 issue #140 #142

Merged
pungoyal merged 2 commits from master into master 2012-04-18 15:05:09 +00:00

View File

@ -11,16 +11,16 @@ window.Intense = {
methods:
foreground: (color) ->
if Intense.useColors
"\033[3#{Intense.colors[color]}m#{this}\033[0m"
"\x33[3#{Intense.colors[color]}m#{this}\x33[0m"
else
this
bright: ->
if Intense.useColors
"\033[1m#{this}\033[0m"
"\x33[1m#{this}\x33[0m"
else
this
useColors: true
moveBack: (count = 1) -> "\033[#{count}D"
moveBack: (count = 1) -> "\x33[#{count}D"
}
for method, code of Intense.methods