Sha256: 1a46cacd5f3702a1631235ab05fd62098f069cbc4678090b2e9d55821044994c

Contents?: true

Size: 462 Bytes

Versions: 4

Compression:

Stored size: 462 Bytes

Contents

module Kango
  module Templates
    def self.gemfile
      <<-EOF
source 'https://rubygems.org'

gem 'kango', '~> #{Kango::VERSION}'
      EOF
    end

    def self.main_coffee
      <<-EOF
MyExtension = ->
  kango.ui.browserButton.addEventListener kango.ui.browserButton.event.COMMAND, =>
    @._onCommand()

MyExtension:: = _onCommand: ->
  kango.browser.tabs.create url: "http://kangoextensions.com/"

extension = new MyExtension()
      EOF
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kango-0.1.0.0.9.2 lib/kango/templates.rb
kango-0.0.3.0.9.2 lib/kango/templates.rb
kango-0.0.2.0.9.2 lib/kango/templates.rb
kango-0.0.1.0.9.2 lib/kango/templates.rb