Sha256: 08f27658eceed97e45ac6e62531b647f779dbb0fba344a67cc41a52f9d56e244

Contents?: true

Size: 361 Bytes

Versions: 13

Compression:

Stored size: 361 Bytes

Contents

class ComponentWithIncludedJs < Netzke::Base
  js_include "#{File.dirname(__FILE__)}/included.js"

  js_base_class "Netzke.ComponentWithIncludedJs"

  action :print_message

  js_property :bbar, [:print_message.action]

  js_method :on_print_message, <<-JS
    function(){
      this.updateBodyWithMessage("Some message " + "shown in the body");
    }
  JS

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
netzke-core-0.7.7 test/core_test_app/app/components/component_with_included_js.rb
netzke-core-0.7.6 test/core_test_app/app/components/component_with_included_js.rb
netzke-core-0.7.5 test/core_test_app/app/components/component_with_included_js.rb
netzke-core-0.7.4 test/core_test_app/app/components/component_with_included_js.rb
netzke-core-0.7.3 test/core_test_app/app/components/component_with_included_js.rb
netzke-core-0.7.2 test/core_test_app/app/components/component_with_included_js.rb
netzke-core-0.7.1 test/rails_app/app/components/component_with_included_js.rb
netzke-core-0.6.7 test/rails_app/app/components/component_with_included_js.rb
netzke-core-0.7.0 test/rails_app/app/components/component_with_included_js.rb
netzke-core-0.6.6 test/rails_app/app/components/component_with_included_js.rb
netzke-core-0.6.5 test/rails_app/app/components/component_with_included_js.rb
netzke-core-0.6.4 test/rails_app/app/components/component_with_included_js.rb
netzke-core-0.6.3 test/rails_app/app/components/component_with_included_js.rb