Sha256: ef39be5b7f7a13911b539b95c91d43eb9514325d4f76f5aec31fb13b7676d1c1

Contents?: true

Size: 665 Bytes

Versions: 3

Compression:

Stored size: 665 Bytes

Contents

<% if options[:jquery] || options[:bootstrap] -%>
import jQuery from 'jquery'
<% end -%>
<% if options[:react] -%>
import ReactDOM from 'react-dom'
import React from 'react'
import NeutronEntryPointComponent from './javascripts/components/neutron_entry_point_component'
<% else -%>
import neutron from 'neutron'
<% end -%>
<% if options[:jquery] || options[:bootstrap] -%>
window.jQuery = window.$ = jQuery
<% end -%>
<% if options[:react] -%>
window.ReactDOM = ReactDOM
window.React = React
window.NeutronEntryPointComponent = NeutronEntryPointComponent
<% else -%>
window.neutron = neutron
<% end -%>
<% if options[:bootstrap] -%>
require('bootstrap')
<% end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
neutron-ruby-electron-0.1.2 lib/neutron/template/src/assets/javascripts/neutron.js.tt
neutron-ruby-electron-0.1.1 lib/neutron/template/src/assets/javascripts/neutron.js.tt
neutron-ruby-electron-0.1.0 lib/neutron/template/src/assets/javascripts/neutron.js.tt