Sha256: 115d659f0cb5e00c81c8e865e43369be725989cc61de7a8b4f8c04e88dc87a60
Contents?: true
Size: 462 Bytes
Versions: 60
Compression:
Stored size: 462 Bytes
Contents
require 'wunderbar/script' require 'ruby2js/filter/angularrb' source = File.expand_path('../vendor/angular.min.js', __FILE__) Wunderbar::Asset.script :name => 'angular-min.js', :file => source module Wunderbar class HtmlMarkup def _ng_template(attrs={}, &block) if attrs.empty? and not block proxiable_tag! :ng_template else attrs[:type] ||= 'text/ng-template' tag! :script, attrs, &block end end end end
Version data entries
60 entries across 60 versions & 1 rubygems