Move $.fn.hasFocus to space-pen

This commit is contained in:
Nathan Sobo
2014-01-11 19:49:25 -07:00
parent 2188dd201d
commit f5bc71e559
2 changed files with 1 additions and 4 deletions

View File

@@ -46,7 +46,7 @@
"scandal": "0.11.0",
"season": "0.14.0",
"semver": "1.1.4",
"space-pen": "3.0.3",
"space-pen": "3.1.0",
"temp": "0.5.0",
"text-buffer": "0.12.0",
"underscore-plus": "0.6.1",

View File

@@ -59,9 +59,6 @@ jQuery.fn.destroyTooltip = ->
@hideTooltip()
@tooltip('destroy')
jQuery.fn.hasFocus = ->
@is(':focus') or @is(':has(:focus)')
jQuery.fn.setTooltip.getKeystroke = getKeystroke
jQuery.fn.setTooltip.humanizeKeystrokes = humanizeKeystrokes