aboutsummaryrefslogtreecommitdiffstats
path: root/html
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-16 15:58:15 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-16 15:58:15 +0000
commit9d454f0f457b12e03fcdd09734d9ea6c8de1a3f1 (patch)
tree35cfb29c636efc4db91e3972226b921cc94695aa /html
parent3270c613fd8cc050147d39d4fa20722b98a81ee0 (diff)
downloadgit-deps-9d454f0f457b12e03fcdd09734d9ea6c8de1a3f1.tar.gz
use noty export rather than window.noty
This is thanks to Loïc Mahieu: https://github.com/aspiers/noty/pull/1
Diffstat (limited to 'html')
-rw-r--r--html/js/git-deps-noty.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/js/git-deps-noty.coffee b/html/js/git-deps-noty.coffee
index c7e125e..cec2b08 100644
--- a/html/js/git-deps-noty.coffee
+++ b/html/js/git-deps-noty.coffee
@@ -1,4 +1,4 @@
-require "noty"
+noty = require "noty"
# Different noty types:
# alert, success, error, warning, information, confirmation
@@ -10,7 +10,7 @@ noty_debug = (text) -> notyfication "information", text
# "notyfication" - haha, did you see what I did there?
notyfication = (type, text) ->
- window.noty(
+ noty(
text: text
type: type
layout: "topRight"