2016-05-31 20:07:44 -04:00
|
|
|
module JavascriptHelper
|
2016-06-23 13:42:52 -04:00
|
|
|
def page_specific_javascript_tag(js)
|
2017-01-13 16:54:16 -05:00
|
|
|
javascript_include_tag asset_path(js)
|
2016-05-31 20:34:30 -04:00
|
|
|
end
|
2017-02-22 12:27:21 -05:00
|
|
|
|
2017-04-12 15:05:23 -04:00
|
|
|
# deprecated; use webpack_bundle_tag directly instead
|
|
|
|
def page_specific_javascript_bundle_tag(bundle)
|
|
|
|
webpack_bundle_tag(bundle)
|
2016-11-03 17:38:54 -04:00
|
|
|
end
|
2016-05-31 20:34:30 -04:00
|
|
|
end
|