Skip to content

Commit

Permalink
change array behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
韩冬 committed Nov 2, 2015
1 parent 53b2b0f commit a0316dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 26 deletions.
9 changes: 0 additions & 9 deletions mss.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,6 @@ isIeLessThan9 = ->
# @return {String}
###
parseR = (selectors, mss, indent, lineEnd) ->

# merge mss if was an Array
if mss instanceof Array
mergedMss = {}
for mssObj in mss
for k, v of mssObj
mergedMss[k] = v
mss = mergedMss

cssRule = ''
subCssRule = ''
newSelectors = undefined
Expand Down
23 changes: 6 additions & 17 deletions mss.js

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

0 comments on commit a0316dc

Please sign in to comment.