Skip to content

Commit

Permalink
Major bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Burnham committed Jan 6, 2011
1 parent 6a8c190 commit bee58b9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
21 changes: 11 additions & 10 deletions lib/styout.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions src/styout.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,15 @@ class Styout
args.unshift @errorPrefix
out args...

parse: (args...) -> out args..., true
parse: (args...) ->
for o, index in args
args[index] = sty.parse(o) if typeof o is 'string'
[args...]

out = (args..., returnOnly = false) ->
out = (args...) ->
for o, index in args
args[index] = sty.parse(o) if typeof o is 'string'
console.log args... unless returnOnly
console.log args...
[args...]

instances = {}
Expand Down

0 comments on commit bee58b9

Please sign in to comment.