Skip to content

Commit 1197583

Browse files
author
Sonmez Kartal
committed
Fix spacing of operators
Signed-off-by: Sonmez Kartal <sonmez@koding.com>
1 parent f63e3fe commit 1197583

37 files changed

Lines changed: 116 additions & 116 deletions

File tree

deployment/nginx.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ createLocations = (KONFIG) ->
171171
auth = options.nginx.auth
172172

173173
if KONFIG.configName is 'dev'
174-
cors = 'add_header 'Access-Control-Allow-Origin' '*' always;'
174+
cors = "add_header 'Access-Control-Allow-Origin' '*' always;"
175175
else if location.cors
176176
cors = """
177177
if ($http_origin ~* (.*\.)*#{_.escapeRegExp KONFIG.domains.main}) {

node_modules_koding/bongo/examples/atomic_update_example/models.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class @Shared extends bongo.Model
1313
body : String
1414
nest : Object
1515

16-
@sayHi =(callback) ->
16+
@sayHi = (callback) ->
1717
callback 'O hai!'
1818

1919
@sayHiToUser = bongo.secure (client, callback) ->

node_modules_koding/bongo/examples/browser_example/models.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class @Shared extends bongo.Model
1212
title : String
1313
body : String
1414

15-
@sayHi =(callback) ->
15+
@sayHi = (callback) ->
1616
callback 'O hai!'
1717

1818
@sayHiToUser = bongo.secure (client, callback) ->

node_modules_koding/bongo/examples/browser_example2/models.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Shared extends Model
1111
title : String
1212
body : String
1313

14-
@sayHi =(callback) ->
14+
@sayHi = (callback) ->
1515
callback 'O hai!'
1616

1717
class Account extends Model
@@ -28,7 +28,7 @@ class Account extends Model
2828
avatar : String
2929

3030

31-
@sayHi =(callback) ->
31+
@sayHi = (callback) ->
3232
callback 'O hai!'
3333

3434
[@Account, @Shared] = [Account, Shared]

node_modules_koding/bongo/examples/browser_example3/models.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class @Shared extends bongo.Model
1111
title : String
1212
body : String
1313

14-
@sayHi =(callback) ->
14+
@sayHi = (callback) ->
1515
callback 'O hai!'
1616

1717
@sayHiToUser = bongo.secure (client, callback) ->
@@ -29,7 +29,7 @@ class @Brown extends bongo.Model
2929
title : String
3030
body : String
3131

32-
@create =(callback) ->
32+
@create = (callback) ->
3333
callback new Brown title: 'hot', body: 'dog'
3434

3535
sayHi :(callback) ->

node_modules_koding/bongo/examples/future_example/botched-future.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FutureLayer
2424
then: ->
2525
console.log @fns
2626

27-
addFn =(fn, next) ->
27+
addFn = (fn, next) ->
2828
@fns.push (rest...) ->
2929
rest.push next @
3030
fn.apply @, rest

node_modules_koding/bongo/examples/objectid-weird/index.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ v3 = require('traverse').map v, (node) ->
2525

2626
v4 = require('traverse').map v, (node) ->
2727
if node instanceof ObjectId
28-
@update ObjectId(node+''), yes
28+
@update ObjectId(node + ''), yes
2929
else
3030
@update node
3131

node_modules_koding/bongo/examples/queries_example/casting.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ ceg = new CastExample
1313

1414
ceg.save (err) ->
1515
throw err if err
16-
CastExample.one { _id: ceg._id+'' }, console.log
16+
CastExample.one { _id: ceg._id + '' }, console.log
1717
CastExample.one { testFieldNum: '123' }, console.log
1818
CastExample.one { testFieldStr: 123 }, console.log

node_modules_koding/bongo/examples/race_example/dash.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ for i in [0..100]
88
setTimeout ->
99
console.log 'fin', i
1010
queue.fin()
11-
, Math.random()*1000
11+
, Math.random() * 1000
1212
@dash queue, ->
1313
console.log 'FIN!'

node_modules_koding/bongo/examples/remote_example/models.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ class @Shared extends Model
1111
title : String
1212
body : String
1313

14-
@sayHi =(callback) ->
14+
@sayHi = (callback) ->
1515
callback 'O hai!'

0 commit comments

Comments
 (0)