Sha256: f611a6709aebe0e2ee050301a4ee9d59e5b7cd1d84d476f32716d20cbb27a559

Contents?: true

Size: 345 Bytes

Versions: 6

Compression:

Stored size: 345 Bytes

Contents

#= require websocket.coffee
if window.$remote
  $.extend WSClient.prototype.actions,
    snapshot: (data) ->
      window.$remote.getCurrentWindow().capturePage (image) =>
        @__parent.send({
          id:data.id
          action:'callback'
          source:'snapshot'
          data: image.toPNG()
          original_msg:data
          })

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flammarion-0.2.1 lib/html/source/javascripts/electron_extensions.coffee
flammarion-0.2.0 lib/html/source/javascripts/electron_extensions.coffee
flammarion-0.1.14 lib/html/source/javascripts/electron_extensions.coffee
flammarion-0.1.13 lib/html/source/javascripts/electron_extensions.coffee
flammarion-0.1.12 lib/html/source/javascripts/electron_extensions.coffee
flammarion-0.1.11 lib/html/source/javascripts/electron_extensions.coffee