       scriptURLs.unshift url for url in obj.reverse()
     else
       scriptURLs.unshift obj
-    
+
 
 
   # Run when app starts listening a port


# Map of functions that can convert various Javascript objects to strings.
types =
  
  function: (fn) -> "#{ fn }"
  string: (s) -> "\"#{ s }\""
  number: (n) -> n.toString()

  object: (obj) ->









exports.addCodeSharingTo = (app) ->

  # Set default scripts-directory
  if not app.set "clientscripts"
    app.set "clientscripts", "#{ process.cwd() }/clientscripts"




  # Path to a directory of client-side only scripts.
