Sha256: 3b0cbd4df9f216544f85b2c695a6632a87d973d62cc2b84137267796fae1db9b

Contents?: true

Size: 544 Bytes

Versions: 4

Compression:

Stored size: 544 Bytes

Contents

$( () ->
  history.pushState("back", null, null);
  if typeof history.pushState == "function"
    history.pushState("back", null, null);
    window.onpopstate = (evt) ->
      history.pushState('back', null, null);
      $( "#back_a_page" ).val( "pressed" )
      $( "#back_a_page" ).click()

  $('#doop_debug').dialog( { autoOpen: false, height: 400, width: 400, position: { my: 'right top', at: 'right top' } })
  $("body").keydown (e) ->
    if e.ctrlKey && e.keyCode == 89
      $('#doop_debug').dialog( "open")
    
  bind_ga_events()  
)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
doop-0.0.5.2 demo/app/assets/javascripts/demo.js.coffee
doop-0.0.5.1 demo/app/assets/javascripts/demo.js.coffee
doop-0.0.5 demo/app/assets/javascripts/demo.js.coffee
doop-0.0.4.2 lib/generators/doopgovuk/templates/app/assets/javascripts/demo.js.coffee