Sha256: 8c85ad113ccbd82da98dc8fe20a0728a68f3af670931b643b46bbac3f8f0fdcb
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
module AngularSprinkles module Helpers module WrapHelper def ng_wrap(*names, &block) scopes = names.map do |name| Element::Scope.new({ base: name, object_wrapper: ObjectKeyWrapper, bind_json_wrapper: JavaScript::NoOp, call_json_wrapper: JavaScript::BindService }) end capture(*scopes, &block) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
angular_sprinkles-0.3.3 | lib/angular_sprinkles/helpers/wrap_helper.rb |