Skip to content
This repository was archived by the owner on Dec 11, 2017. It is now read-only.

Commit 8aa6971

Browse files
committed
added window
1 parent 2702dee commit 8aa6971

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/scripts/jquery.maskedinput.coffee

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ $timeout = $injector.get '$timeout'
99
$document = $injector.get '$document'
1010
document = $document[0]
1111
$window = $injector.get '$window'
12+
window = $window[0]
1213
navigator = window.navigator
1314

14-
(($) ->
15+
(($, window) ->
1516
getPasteEvent = ->
1617
el = document.createElement 'input'
1718
name = 'onpaste'
@@ -304,4 +305,4 @@ navigator = window.navigator
304305
), 0
305306

306307
checkVal() #Perform initial check for existing values
307-
) jQuery
308+
) jQuery, window

0 commit comments

Comments
 (0)