Skip to content

Commit

Permalink
avoid the use of 'static' keyword
Browse files Browse the repository at this point in the history
because it is now a reserved word in coffee-script 1.3
  • Loading branch information
Andrew Kelley committed Apr 12, 2012
1 parent 5a60afd commit ce76984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ fs = require 'fs'
http = require 'http'
net = require 'net'
socketio = require 'socket.io'
static = require 'node-static'
node_static = require 'node-static'
mpd = require './lib/mpd'
extend = require 'node.extend'

fileServer = new (static.Server) "./public"
fileServer = new (node_static.Server) "./public"
app = http.createServer((request, response) ->
return if plugins.handleRequest(request, response)
request.addListener 'end', ->
Expand Down

0 comments on commit ce76984

Please sign in to comment.