Skip to content
Browse files

Fix "Operation not supported" error in Firefox

  • Loading branch information...
1 parent c85dfb9 commit 4f5ccff7e5f416e7faa0f5c975b428952df2efc2 @andreyvit andreyvit committed Dec 4, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/startup.coffee
View
5 src/startup.coffee
@@ -1,9 +1,8 @@
CustomEvents = require('customevents')
LiveReload = window.LiveReload = new (require('livereload').LiveReload)(window)
-for k, v of window
- if k.match(/^LiveReloadPlugin/)
- LiveReload.addPlugin v
+for k of window when k.match(/^LiveReloadPlugin/)
+ LiveReload.addPlugin window[k]
LiveReload.addPlugin require('less')

0 comments on commit 4f5ccff

Please sign in to comment.
Something went wrong with that request. Please try again.