reactive-ruby 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +101 -0
- data/README.md +19 -11
- data/example/{tutorial → rails-tutorial}/.gitignore +0 -0
- data/example/{tutorial → rails-tutorial}/Gemfile +0 -0
- data/example/{tutorial → rails-tutorial}/Gemfile.lock +2 -2
- data/example/{tutorial → rails-tutorial}/README.rdoc +0 -0
- data/example/{tutorial → rails-tutorial}/Rakefile +0 -0
- data/example/{tutorial → rails-tutorial}/app/assets/images/.keep +0 -0
- data/example/rails-tutorial/app/assets/javascripts/application.rb +15 -0
- data/example/{tutorial → rails-tutorial}/app/assets/stylesheets/application.css +0 -0
- data/example/{tutorial → rails-tutorial}/app/controllers/application_controller.rb +0 -0
- data/example/{tutorial → rails-tutorial}/app/controllers/concerns/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/app/controllers/home_controller.rb +0 -0
- data/example/{tutorial → rails-tutorial}/app/helpers/application_helper.rb +0 -0
- data/example/{tutorial → rails-tutorial}/app/mailers/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/app/models/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/app/models/concerns/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/app/views/components.rb +0 -0
- data/example/{tutorial → rails-tutorial}/app/views/components/home/show.rb +0 -0
- data/example/{tutorial → rails-tutorial}/app/views/layouts/application.html.erb +0 -0
- data/example/{tutorial → rails-tutorial}/bin/bundle +0 -0
- data/example/{tutorial → rails-tutorial}/bin/rails +0 -0
- data/example/{tutorial → rails-tutorial}/bin/rake +0 -0
- data/example/{tutorial → rails-tutorial}/bin/setup +0 -0
- data/example/{tutorial → rails-tutorial}/bin/spring +0 -0
- data/example/{tutorial → rails-tutorial}/config.ru +0 -0
- data/example/{tutorial → rails-tutorial}/config/application.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/boot.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/database.yml +0 -0
- data/example/{tutorial → rails-tutorial}/config/environment.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/environments/development.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/environments/production.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/environments/test.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/initializers/assets.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/initializers/backtrace_silencers.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/initializers/cookies_serializer.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/initializers/filter_parameter_logging.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/initializers/inflections.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/initializers/mime_types.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/initializers/session_store.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/initializers/wrap_parameters.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/locales/en.yml +0 -0
- data/example/{tutorial → rails-tutorial}/config/routes.rb +0 -0
- data/example/{tutorial → rails-tutorial}/config/secrets.yml +0 -0
- data/example/{tutorial → rails-tutorial}/db/seeds.rb +0 -0
- data/example/{tutorial → rails-tutorial}/lib/assets/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/lib/tasks/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/log/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/public/404.html +0 -0
- data/example/{tutorial → rails-tutorial}/public/422.html +0 -0
- data/example/{tutorial → rails-tutorial}/public/500.html +0 -0
- data/example/{tutorial → rails-tutorial}/public/favicon.ico +0 -0
- data/example/{tutorial → rails-tutorial}/public/robots.txt +0 -0
- data/example/{tutorial → rails-tutorial}/test/controllers/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/test/fixtures/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/test/helpers/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/test/integration/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/test/mailers/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/test/models/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/test/test_helper.rb +0 -0
- data/example/{tutorial → rails-tutorial}/vendor/assets/javascripts/.keep +0 -0
- data/example/{tutorial → rails-tutorial}/vendor/assets/stylesheets/.keep +0 -0
- data/example/sinatra-tutorial/.DS_Store +0 -0
- data/example/sinatra-tutorial/Gemfile +5 -0
- data/example/sinatra-tutorial/Gemfile.lock +101 -0
- data/example/{react-tutorial → sinatra-tutorial}/README.md +0 -0
- data/example/sinatra-tutorial/_comments.json +38 -0
- data/example/{react-tutorial/example.js.rb → sinatra-tutorial/app/example.rb} +3 -2
- data/example/sinatra-tutorial/app/jquery.js +5 -0
- data/example/{react-tutorial → sinatra-tutorial}/config.ru +1 -6
- data/example/{react-tutorial → sinatra-tutorial}/public/base.css +0 -0
- data/lib/reactive-ruby.rb +1 -7
- data/lib/reactive-ruby/version.rb +1 -1
- data/lib/sources/react.js +19801 -0
- data/reactive-ruby.gemspec +3 -2
- metadata +74 -85
- data/example/react-tutorial/Gemfile +0 -7
- data/example/react-tutorial/Gemfile.lock +0 -49
- data/example/react-tutorial/_comments.json +0 -14
- data/example/tutorial/Gemfile.xlock +0 -211
- data/example/tutorial/app/assets/javascripts/application.rb +0 -10
@@ -1,10 +0,0 @@
|
|
1
|
-
#assets/javascript/application.rb
|
2
|
-
# only put files that are browser side only.
|
3
|
-
|
4
|
-
require 'components' # this pulls in your components from the components.rb manifest file
|
5
|
-
require 'jquery' # you need both these files to access jQuery from Opal
|
6
|
-
require 'opal-jquery' # they must be in this order, and after the components require
|
7
|
-
require 'browser' # opal access to browser specific methods (such as setTimer)
|
8
|
-
require 'react_ujs' # this is required and is part of the prerendering system
|
9
|
-
# whatever else you might need here
|
10
|
-
|