Sha256: 6a1778bab55a7143f567770f0b514eab17d8fe9d0cbdfbcd30cfe739375097a3

Contents?: true

Size: 577 Bytes

Versions: 9

Compression:

Stored size: 577 Bytes

Contents

require_relative "../<%= identifier %>"

module <%= namespace %>

    class Extension < Hippo::Extensions::Definition

        identifier "<%= identifier %>"

        title "<%= title %>"

        root_path Pathname.new(__FILE__).dirname.join("..","..").expand_path

        # If a data structure that can be represented as JSON
        # is returned from this method, it will be passed to
        # the setBootstrapData method in client/<%= identifier %>/Extension.coffee
        # when the app boots
        def client_bootstrap_data
            nil
        end
    end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hippo-fw-0.9.9 templates/lib/namespace/extension.rb
hippo-fw-0.9.8 templates/lib/namespace/extension.rb
hippo-fw-0.9.7 templates/lib/namespace/extension.rb
hippo-fw-0.9.6 templates/lib/namespace/extension.rb
hippo-fw-0.9.5 templates/lib/namespace/extension.rb
hippo-fw-0.9.4 templates/lib/namespace/extension.rb
hippo-fw-0.9.3 templates/lib/namespace/extension.rb
hippo-fw-0.9.2 templates/lib/namespace/extension.rb
hippo-fw-0.9.1 templates/lib/namespace/extension.rb