Permalink
Browse files

all green & clean :)

  • Loading branch information...
msuarz committed Oct 28, 2012
1 parent 315e58f commit 9c79445624b7341ae3e361143ede56fbb45ee7f6
Showing with 5 additions and 5 deletions.
  1. +5 −5 docs/src/frank.coffee
View
@@ -4,8 +4,8 @@ _ = require 'underscore'
class @Frank
'[>\$] frank @args': (args, output) ->
- $('coffee src/frank ' + args)
- .compact().should.include output.compact()
+ compact($ 'coffee src/frank ' + args)
+ .should.include compact output
'@defaults =': (settings) ->
settings_file = __dirname + '/../../src/settings.coffee'
@@ -15,8 +15,8 @@ class @Frank
settings_file = __dirname + '/../settings.coffee'
Files.verify_contains settings_file, settings
- String.prototype.compact = -> _
- .compact(
- @replace(/\r/g, '')
+ compact = (string) -> _
+ .compact(string
+ .replace(/\r/g, '')
.split('\n'))
.join('\n')

0 comments on commit 9c79445

Please sign in to comment.