Sha256: ff64b09d1bc5ca4249546712e4c3751bee885a04d81d5e031e7d80ad88cfe0e7

Contents?: true

Size: 430 Bytes

Versions: 12

Compression:

Stored size: 430 Bytes

Contents

# ----------------------------------------------------------------------------
# Frozen-string-literal: true
# Copyright: 2012 - 2016 - MIT License
# Encoding: utf-8
# ----------------------------------------------------------------------------

try_require_if_javascript "sprockets/es6" do
  if ExecJS.runtime.is_a?(ExecJS::RubyRhinoRuntime)
    Jekyll.logger.warn "ES6 transpiler has trouble with RubyRhino, use Node"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jekyll-assets-2.4.0 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.3.2 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.3.0 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.8 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.7 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.6 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.5 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.4 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.3 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.2 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.1 lib/jekyll/assets/addons/javascript.rb
jekyll-assets-2.2.0 lib/jekyll/assets/addons/javascript.rb