Sha256: c9c776c885ee15df4441af6d8e7cb912dfbec6264eef4044ddec9e491549a666

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

module AngularSprinkles
  module Helpers
    module WrapHelper
      def ng_wrap(name, &block)
        scope = Element::Scope.new({
          base: name,
          object_wrapper: ObjectKeyWrapper,
          bind_json_wrapper: JavaScript::NoOp,
          call_json_wrapper: JavaScript::BindService
        })

        capture(scope, &block)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angular_sprinkles-0.3.2 lib/angular_sprinkles/helpers/wrap_helper.rb