Sha256: 3dea354c4a661408ab61198ee119529bd316c11e9e1f8c25365a70bf5fdc1ffc
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
#= require screenfull do (jQuery) -> $.isFullScreenEnabled = -> screenfull.enabled && screenfull.raw.fullscreenchange $.extend $.fn, fullScreen: -> $(@).on 'click', -> screenfull.toggle(@) if $.isFullScreenEnabled() .on screenfull.raw.fullscreenchange -> $(@).trigger(if screenfull.isFullscreen then 'fullscreen:enter' else 'fullscreen:exit')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jquery-screenfull-rails-0.0.4 | vendor/assets/javascripts/jquery.screenfull.js.coffee |