denki_guy 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.markdown CHANGED
@@ -18,6 +18,9 @@ Setup
18
18
  2. rails generate rpg <whatever_you_want_the_map_to_be_called>
19
19
  3. Add in the jquery javascript file in application.rb like so:
20
20
  <%= javascript_include_tag 'jquery' %>
21
+
22
+ Note about (3): There are a few ways to switch over to jquery. The key is to not have any of the prototype files messing up the game. So that means
23
+ <%= javascript_include_tag :defaults %> will cause you problems, along with any inclusions of prototype.js, effects.js, dragdrop.js, or controls.js.
21
24
 
22
25
  Usage
23
26
  ----
@@ -84,8 +84,7 @@ class RpgGenerator < Rails::Generators::NamedBase
84
84
 
85
85
 
86
86
  This will not work if you are using prototype
87
- A line such as '<%= javascript_include_tag :defaults %>' in application.html.erb will yield unexpected, weird behavior
88
- (mostly just breaking the page as far as I know so far).
87
+ A line such as '<%= javascript_include_tag :defaults %>' in application.html.erb will yield unexpected, weird behavior, so delete that and other references to prototype files (effects.js, dragdrop.js, controls.js, and naturally prototype.js)
89
88
 
90
89
  A Jquery file has been added. You will need to include this somewhere in your application layout or view like so:
91
90
  <%= javascript_include_tag 'jquery' %>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: denki_guy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Evan Burchard