jscalc 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -10
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f7ebe62b4c8e29768de1947d7c616a0909abece
4
- data.tar.gz: 84fa13557c141b14a067e6a4938b7f6e9421c66e
3
+ metadata.gz: dcf397a6ec63f0635f74e2a0440ca387415144a9
4
+ data.tar.gz: a26badee9b61c72e31ab234a6435a2a70067e414
5
5
  SHA512:
6
- metadata.gz: bac9d2b5b389e7d233208aec5b5339e408887f335dc984d676d1b1839f8d354593f3bba970a4d96c413068b856d74a82cd9687864f873979554b33fce727c306
7
- data.tar.gz: 49dc6439c69c14e291f898c8398f074ec9d0b72c29f0ba336cb2ac48f35e72dd3b52ae8aa172a5dfaf510c1ec2117cff0730b66e810c14fc503ac37912309582
6
+ metadata.gz: f5a048cc4d4c56e42ca9a747d78a12d6013b268f4e92ae38a21a262e83b4cf2d60a4857024baaf3255989537fb3c55168289cfe5e096d8f33cc898684d09f5b0
7
+ data.tar.gz: 9a1ec0f1f57a63cd3b3ef2a7f9659f61d4f917d74e54f87e5a6b0e262e704f7adc948650aa77be1225ea28530e22a58105ea1e22e382ca97f33179ab7b1a54e5
data/README.md CHANGED
@@ -24,28 +24,27 @@ Or install it yourself as:
24
24
 
25
25
  Add the following HTML code to the page where you want the calculator to appear
26
26
 
27
- ><div id = "myCalculator">
28
- > <div id="panelDiv">
29
- ><input type ="text" id = "calcPanel" />
30
- > &lt;/div> <!--End panelDiv-->
31
- >&lt;/div&gt;<!--End myCalculator Div-->
32
-
27
+ >`<div id = "myCalculator">
28
+ <div id="panelDiv">
29
+ <input type ="text" id = "calcPanel" />
30
+ </div> <!--End panelDiv-->
31
+ </div><!--End myCalculator Div-->`
33
32
 
34
33
 
35
34
  Add the following to the bottom of **application.html.erb** (the script file must render in the body
36
35
  section of the HTML page, not in the head section)
37
36
 
38
- >**<%= javascript\_include\_tag "jscalc.js" %>**
37
+ > `<%= javascript_include_tag "jscalc.js" %>`
39
38
 
40
39
  Add the following line to the head section of **application.html.erb**
41
40
 
42
- >**&lt;%= stylesheet\_link\_tag "jscalc.css" %&gt;**
41
+ > `<%= stylesheet_link_tag "jscalc.css" %>`
43
42
 
44
43
  **TO MAKE THE CALCULATOR DRAGGABLE**, ensure that jQuery-ui is installed or add the following files to the head section of **application.html.erb** BEFORE the stylesheet link tag.
45
44
 
46
- > &lt;script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js\"&gt;&lt;/script&gt;
45
+ `<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>`
47
46
 
48
- > &lt;script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js\"&gt;&lt;/script&gt;
47
+ `<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>`
49
48
  ## Usage
50
49
 
51
50
  Math.random()
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jscalc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tomgdow