jquery_cheats 2.1.0 → 2.2.0
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.md +17 -0
- data/app/assets/javascripts/jqueryCheats.js +201 -5
- data/jquery_cheats.gemspec +2 -2
- data/lib/jquery_cheats.rb +11 -3
- data/vendor/assets/{excanvas.js → javascripts/jqplot/excanvas.js} +0 -0
- data/vendor/assets/{jquery.jqplot.js → javascripts/jqplot/jquery.jqplot.js} +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.BezierCurveRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.BezierCurveRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.barRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.barRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.blockRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.blockRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.bubbleRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.bubbleRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasAxisLabelRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasAxisLabelRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasAxisTickRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasAxisTickRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasOverlay.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasOverlay.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasTextRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasTextRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.categoryAxisRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.categoryAxisRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.ciParser.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.ciParser.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.cursor.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.cursor.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.dateAxisRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.dateAxisRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.donutRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.donutRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.dragable.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.dragable.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.enhancedLegendRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.enhancedLegendRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.funnelRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.funnelRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.highlighter.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.highlighter.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.json2.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.json2.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.logAxisRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.logAxisRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.mekkoAxisRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.mekkoAxisRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.mekkoRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.mekkoRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.meterGaugeRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.meterGaugeRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.ohlcRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.ohlcRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pieRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pieRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pointLabels.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pointLabels.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pyramidAxisRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pyramidAxisRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pyramidGridRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pyramidGridRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pyramidRenderer.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.pyramidRenderer.min.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.trendline.js +0 -0
- data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.trendline.min.js +0 -0
- data/vendor/assets/{jquery.jqplot.css → stylesheets/jquery.jqplot.css} +0 -0
- metadata +63 -63
data/README.md
CHANGED
|
@@ -14,6 +14,15 @@ Then add the following to app/assets/application.js
|
|
|
14
14
|
//= require jqueryCheats
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
If you would like charting functionality make sure the following code is in app/assets/application.js
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
//= require jqplot/jquery.jqplot.js
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Depending on the chart, you will have to include the plugin too, which are loaded in the jqplot/plugins directory
|
|
24
|
+
|
|
25
|
+
|
|
17
26
|
##Functions
|
|
18
27
|
|
|
19
28
|
Mouse over image, Image1 changes to Image2 when moused over:
|
|
@@ -67,3 +76,11 @@ JQuery Cheats comes packaged with JQueryPlots as of 2.1.0, but some functions ma
|
|
|
67
76
|
###Barchart
|
|
68
77
|
|
|
69
78
|
JQuery Cheats Barchart is the first graph to be implemented and uses XML to parse the data.
|
|
79
|
+
|
|
80
|
+
Make sure the following is in your app/assets/javascripts/application.js file
|
|
81
|
+
|
|
82
|
+
```js
|
|
83
|
+
//= require jqplot/plugins/jqplot.barRenderer.min.js
|
|
84
|
+
//= require jqplot/plugins/jqplot.categoryAxisRenderer.min.js
|
|
85
|
+
//= require jqplot/plugins/jqplot.pointLabels.min.js
|
|
86
|
+
```
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
//I KNOW it is global but, I am unsure of another way to do it.
|
|
2
|
+
var links = [];
|
|
3
|
+
//global variable used to iterate
|
|
4
|
+
var categoryPos = 0;
|
|
1
5
|
$(document).ready(function(){
|
|
2
6
|
//make select boxes ajax-compatible by adding two params data-onchange=true and data-url="/path/to"
|
|
3
7
|
$('select[data-onchange]').live("change",function(){
|
|
@@ -10,7 +14,7 @@ $(document).ready(function(){
|
|
|
10
14
|
//make radio buttons onclick compatible
|
|
11
15
|
$('input[type="radio"][data-onclick]').live("change",function()
|
|
12
16
|
{
|
|
13
|
-
|
|
17
|
+
data = $(this).serialize();
|
|
14
18
|
if($(this).attr("data-params"))
|
|
15
19
|
{
|
|
16
20
|
data += "&"+$(this).attr("data-params");
|
|
@@ -21,6 +25,23 @@ $(document).ready(function(){
|
|
|
21
25
|
success: function(data){eval(data);},
|
|
22
26
|
dataType: "script"});
|
|
23
27
|
});
|
|
28
|
+
//start loading the pie charts...
|
|
29
|
+
$("div.piechart").each(function(){
|
|
30
|
+
pieChart($(this).attr("id"),$(this).attr("data-xmlurl"));
|
|
31
|
+
});
|
|
32
|
+
//bind click events to piehcart
|
|
33
|
+
//start by loading the barcharts...
|
|
34
|
+
$("div.barchart").each(function(){BarChart($(this).attr("id"),$(this).attr("data-xmlurl"))});
|
|
35
|
+
$('div.barchart').bind('jqplotDataClick',
|
|
36
|
+
function (ev, seriesIndex, pointIndex, data) {
|
|
37
|
+
/* To open in a NEW window use: */
|
|
38
|
+
/* window.open(data[2]); */
|
|
39
|
+
/* To open in the same window use: */
|
|
40
|
+
for(i = 0; i < data.length; i++) $("#debug").append("\nData["+i+"]:"+data[i]);
|
|
41
|
+
$("#debug").append("\nlink: "+links[data[0]-1]);
|
|
42
|
+
window.location = links[data[0]-1]
|
|
43
|
+
}
|
|
44
|
+
);
|
|
24
45
|
});
|
|
25
46
|
|
|
26
47
|
///some helpter functions here
|
|
@@ -28,18 +49,193 @@ $(document).ready(function(){
|
|
|
28
49
|
//####THIS ONE HELPS PROCESS XML
|
|
29
50
|
|
|
30
51
|
|
|
31
|
-
function BarChart(name)
|
|
52
|
+
function BarChart(name,xmlurl)
|
|
32
53
|
{
|
|
33
54
|
//this is the BarChart Method
|
|
34
|
-
|
|
55
|
+
//get the XML data
|
|
56
|
+
$.get(xmlurl,function(xml){
|
|
57
|
+
//we have the URL object as xml
|
|
58
|
+
var width = XMLWidth(xml);//The width of the chart
|
|
59
|
+
var height = XMLHeight(xml);
|
|
60
|
+
bars = getBars(xml);
|
|
61
|
+
//append these to the div
|
|
62
|
+
$("div#"+name).css("width",width);
|
|
63
|
+
$("div#"+name).css("height",height);
|
|
64
|
+
$.jqplot(name,bars,{ seriesDefaults:{
|
|
65
|
+
renderer:$.jqplot.BarRenderer,
|
|
66
|
+
rendererOptions: {fillToZero: true, barWidth: barWidth(xml)}
|
|
67
|
+
},
|
|
68
|
+
axes: {
|
|
69
|
+
// Use a category axis on the x axis and use our custom ticks.
|
|
70
|
+
xaxis: {
|
|
71
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
|
72
|
+
ticks: getTicks(xml),
|
|
73
|
+
autoscale: true
|
|
74
|
+
},
|
|
75
|
+
yaxis: {
|
|
76
|
+
min: getYAxisMin(xml),
|
|
77
|
+
max: getYAxisMax(xml),
|
|
78
|
+
autoscale: true,
|
|
79
|
+
tickInterval: getTickInterval(xml)
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function barWidth(xml)
|
|
87
|
+
{
|
|
88
|
+
var width = $(xml).find("render").attr("barWidth");
|
|
89
|
+
if(width) return width; else return null;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function getYAxisMin(xml)
|
|
93
|
+
{
|
|
94
|
+
var min = $(xml).find("yaxis").attr("min");
|
|
95
|
+
if(min)
|
|
96
|
+
{
|
|
97
|
+
return min;
|
|
98
|
+
}
|
|
99
|
+
else
|
|
100
|
+
{
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
35
103
|
}
|
|
36
104
|
|
|
37
|
-
function
|
|
105
|
+
function getYAxisMax(xml)
|
|
106
|
+
{
|
|
107
|
+
var max = $(xml).find("yaxis").attr("max");
|
|
108
|
+
if(max) return max;
|
|
109
|
+
if(!max) return null;
|
|
110
|
+
}
|
|
111
|
+
function getTicks(xml)
|
|
38
112
|
{
|
|
39
113
|
//this function should get the ticks from the XML
|
|
114
|
+
var ticks = [];
|
|
115
|
+
$(xml).find("tick").each(function(){
|
|
116
|
+
ticks.push($(this).attr("text"));
|
|
117
|
+
});
|
|
118
|
+
return ticks;
|
|
40
119
|
}
|
|
41
120
|
|
|
42
|
-
function
|
|
121
|
+
function getBars(xml)
|
|
43
122
|
{
|
|
44
123
|
//this function aims at translating the data into a 2d array for rendering
|
|
124
|
+
var twoDArray = [];
|
|
125
|
+
$(xml).find("category").each(
|
|
126
|
+
function(){
|
|
127
|
+
twoDArray.push(loadBars($(this)));
|
|
128
|
+
});
|
|
129
|
+
debug2dArray(twoDArray);
|
|
130
|
+
return twoDArray;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
function XMLWidth(xml)
|
|
134
|
+
{
|
|
135
|
+
//get the width and height of the object via XML
|
|
136
|
+
return $(xml).find("size").attr("width");
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
function XMLHeight(xml)
|
|
140
|
+
{
|
|
141
|
+
return $(xml).find("size").attr("height");
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
function loadBars(xml)
|
|
145
|
+
{
|
|
146
|
+
bars = [];
|
|
147
|
+
$(xml).find("bar").each(
|
|
148
|
+
function(){
|
|
149
|
+
//categoryPos = categoryPos+1;
|
|
150
|
+
//$("#debug").append("\nCATEGORY POSSITION:"+categoryPos)
|
|
151
|
+
//bars.push(categoryPos);
|
|
152
|
+
bars.push($(this).attr("size"));
|
|
153
|
+
link = $(this).attr("link");
|
|
154
|
+
if(link)links.push(link); else links.push("#");
|
|
155
|
+
});
|
|
156
|
+
return bars;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
function getTickInterval(xml)
|
|
161
|
+
{
|
|
162
|
+
var interval = $(xml).find("yaxis").attr("tickInterval");
|
|
163
|
+
alert("INTERVAL IS: "+interval)
|
|
164
|
+
if(interval) return interval;
|
|
165
|
+
else return null;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
function debug2dArray(arr)
|
|
169
|
+
{
|
|
170
|
+
$("#debug").append("\n[");
|
|
171
|
+
for(i = 0; i < arr.length; i++)
|
|
172
|
+
{
|
|
173
|
+
$("#debug").append("\n[");
|
|
174
|
+
for(j = 0; j < arr[i].length; j++)
|
|
175
|
+
{
|
|
176
|
+
if(j != 0) $("#debug").append(",");
|
|
177
|
+
$("#debug").append(arr[i][j]);
|
|
178
|
+
}
|
|
179
|
+
$("#debug").append("]");
|
|
180
|
+
}
|
|
181
|
+
$("#debug").append("\n]");
|
|
182
|
+
return arr;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
///THIS IS THE PIE CHART SECTION, Somethings may be borrowed from BarCharts
|
|
186
|
+
//###THINGS BORROWED FROM BARCHARTS: debug2dArray
|
|
187
|
+
|
|
188
|
+
function pieChart(name,xmlurl)
|
|
189
|
+
{
|
|
190
|
+
$.get(xmlurl,function(xml)
|
|
191
|
+
{
|
|
192
|
+
|
|
193
|
+
loadSize(name,xml);
|
|
194
|
+
slices= new Array();
|
|
195
|
+
slices.push(loadSlices(xml));
|
|
196
|
+
$("#debug").append("\nSLICES ARR (getting ready to load):");
|
|
197
|
+
debug2dArray(slices);
|
|
198
|
+
//debug2dArray(slices)
|
|
199
|
+
//now load in the pie chart
|
|
200
|
+
var plot1 = $.jqplot(name,[slices],
|
|
201
|
+
{
|
|
202
|
+
seriesDefaults:{
|
|
203
|
+
renderer: $.jqplot.PieRenderer,
|
|
204
|
+
rendererOptions:{
|
|
205
|
+
showDataLables: true
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
legend:{show: true, location: 'e'}
|
|
209
|
+
});
|
|
210
|
+
});//end get AJAX request
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
function loadSlices(xml)
|
|
216
|
+
{
|
|
217
|
+
slices = new Array();
|
|
218
|
+
$(xml).find("category").each(
|
|
219
|
+
function()
|
|
220
|
+
{
|
|
221
|
+
$(this).find("slice").each(
|
|
222
|
+
function()
|
|
223
|
+
{
|
|
224
|
+
slice = new Array($(this).attr("name"));
|
|
225
|
+
slice.push(parseInt($(this).attr("size")));
|
|
226
|
+
slices.push(slice);
|
|
227
|
+
}
|
|
228
|
+
);
|
|
229
|
+
}
|
|
230
|
+
);
|
|
231
|
+
return slices;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function loadSize(divid,xml)
|
|
235
|
+
{
|
|
236
|
+
width = $(xml).find("size").attr("width");
|
|
237
|
+
if(width) $("#"+divid).css("width",width);
|
|
238
|
+
height = $(xml).find("size").attr("height");
|
|
239
|
+
if(height) $("#"+divid).css("height",height);
|
|
240
|
+
$("#debug").append("\nWidth: "+width+"\nHeight:"+height);
|
|
45
241
|
}
|
data/jquery_cheats.gemspec
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = "jquery_cheats"
|
|
5
|
-
s.version = "2.
|
|
5
|
+
s.version = "2.2.0"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Travis Pessettto"]
|
|
9
9
|
s.date = "2012-06-07"
|
|
10
|
-
s.description = "JQuery
|
|
10
|
+
s.description = "JQuery, JQPlot graphing, and other useful items for jquery."
|
|
11
11
|
s.email = "travis@pessetto.com"
|
|
12
12
|
s.extra_rdoc_files = ["README.md", "lib/jquery_cheats.rb"]
|
|
13
13
|
s.files = Dir["{lib,app,vendor}/**/*"]+["README.md", "Rakefile", "Manifest", "jquery_cheats.gemspec"]
|
data/lib/jquery_cheats.rb
CHANGED
|
@@ -35,11 +35,19 @@ module JQueryCheats
|
|
|
35
35
|
return newlink
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
def barchart()
|
|
39
|
-
|
|
38
|
+
def barchart(name,xmlurl)
|
|
39
|
+
#create a new barchar div tag, class of jqplot is used to simplify jquery binding
|
|
40
|
+
html = "<div id=\"#{name}\" class=\"barchart\" data-xmlurl=\"#{xmlurl}\"></div>".html_safe
|
|
41
|
+
#we will have to relly on XML to get the rest of the data...
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def piechart(name,xmlurl)
|
|
45
|
+
#create a new barchar div tag, class of jqplot is used to simplify jquery binding
|
|
46
|
+
html = "<div id=\"#{name}\" class=\"piechart\" data-xmlurl=\"#{xmlurl}\"></div>".html_safe
|
|
47
|
+
#we will have to relly on XML to get the rest of the data...
|
|
40
48
|
end
|
|
41
49
|
|
|
42
|
-
def initialize
|
|
50
|
+
def initialize
|
|
43
51
|
|
|
44
52
|
end
|
|
45
53
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasAxisLabelRenderer.min.js
RENAMED
|
File without changes
|
|
File without changes
|
data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.canvasAxisTickRenderer.min.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.categoryAxisRenderer.min.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/vendor/assets/{plugins → javascripts/jqplot/plugins}/jqplot.enhancedLegendRenderer.min.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jquery_cheats
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2012-06-07 00:00:00.000000000Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: JQuery
|
|
14
|
+
description: JQuery, JQPlot graphing, and other useful items for jquery.
|
|
15
15
|
email: travis@pessetto.com
|
|
16
16
|
executables: []
|
|
17
17
|
extensions: []
|
|
@@ -23,67 +23,67 @@ files:
|
|
|
23
23
|
- lib/jquery_cheats.rb
|
|
24
24
|
- lib/railtie.rb
|
|
25
25
|
- app/assets/javascripts/jqueryCheats.js
|
|
26
|
-
- vendor/assets/excanvas.js
|
|
27
|
-
- vendor/assets/jquery.jqplot.
|
|
28
|
-
- vendor/assets/
|
|
29
|
-
- vendor/assets/plugins/jqplot.barRenderer.js
|
|
30
|
-
- vendor/assets/plugins/jqplot.
|
|
31
|
-
- vendor/assets/plugins/jqplot.BezierCurveRenderer.js
|
|
32
|
-
- vendor/assets/plugins/jqplot.
|
|
33
|
-
- vendor/assets/plugins/jqplot.blockRenderer.js
|
|
34
|
-
- vendor/assets/plugins/jqplot.
|
|
35
|
-
- vendor/assets/plugins/jqplot.bubbleRenderer.js
|
|
36
|
-
- vendor/assets/plugins/jqplot.
|
|
37
|
-
- vendor/assets/plugins/jqplot.canvasAxisLabelRenderer.js
|
|
38
|
-
- vendor/assets/plugins/jqplot.
|
|
39
|
-
- vendor/assets/plugins/jqplot.canvasAxisTickRenderer.js
|
|
40
|
-
- vendor/assets/plugins/jqplot.
|
|
41
|
-
- vendor/assets/plugins/jqplot.canvasOverlay.js
|
|
42
|
-
- vendor/assets/plugins/jqplot.
|
|
43
|
-
- vendor/assets/plugins/jqplot.canvasTextRenderer.js
|
|
44
|
-
- vendor/assets/plugins/jqplot.
|
|
45
|
-
- vendor/assets/plugins/jqplot.categoryAxisRenderer.js
|
|
46
|
-
- vendor/assets/plugins/jqplot.
|
|
47
|
-
- vendor/assets/plugins/jqplot.ciParser.js
|
|
48
|
-
- vendor/assets/plugins/jqplot.
|
|
49
|
-
- vendor/assets/plugins/jqplot.cursor.js
|
|
50
|
-
- vendor/assets/plugins/jqplot.
|
|
51
|
-
- vendor/assets/plugins/jqplot.dateAxisRenderer.js
|
|
52
|
-
- vendor/assets/plugins/jqplot.
|
|
53
|
-
- vendor/assets/plugins/jqplot.donutRenderer.js
|
|
54
|
-
- vendor/assets/plugins/jqplot.
|
|
55
|
-
- vendor/assets/plugins/jqplot.dragable.js
|
|
56
|
-
- vendor/assets/plugins/jqplot.
|
|
57
|
-
- vendor/assets/plugins/jqplot.enhancedLegendRenderer.js
|
|
58
|
-
- vendor/assets/plugins/jqplot.
|
|
59
|
-
- vendor/assets/plugins/jqplot.funnelRenderer.js
|
|
60
|
-
- vendor/assets/plugins/jqplot.
|
|
61
|
-
- vendor/assets/plugins/jqplot.highlighter.js
|
|
62
|
-
- vendor/assets/plugins/jqplot.
|
|
63
|
-
- vendor/assets/plugins/jqplot.json2.js
|
|
64
|
-
- vendor/assets/plugins/jqplot.
|
|
65
|
-
- vendor/assets/plugins/jqplot.logAxisRenderer.js
|
|
66
|
-
- vendor/assets/plugins/jqplot.
|
|
67
|
-
- vendor/assets/plugins/jqplot.mekkoAxisRenderer.js
|
|
68
|
-
- vendor/assets/plugins/jqplot.
|
|
69
|
-
- vendor/assets/plugins/jqplot.mekkoRenderer.js
|
|
70
|
-
- vendor/assets/plugins/jqplot.
|
|
71
|
-
- vendor/assets/plugins/jqplot.meterGaugeRenderer.js
|
|
72
|
-
- vendor/assets/plugins/jqplot.
|
|
73
|
-
- vendor/assets/plugins/jqplot.ohlcRenderer.js
|
|
74
|
-
- vendor/assets/plugins/jqplot.
|
|
75
|
-
- vendor/assets/plugins/jqplot.pieRenderer.js
|
|
76
|
-
- vendor/assets/plugins/jqplot.
|
|
77
|
-
- vendor/assets/plugins/jqplot.pointLabels.js
|
|
78
|
-
- vendor/assets/plugins/jqplot.
|
|
79
|
-
- vendor/assets/plugins/jqplot.pyramidAxisRenderer.js
|
|
80
|
-
- vendor/assets/plugins/jqplot.
|
|
81
|
-
- vendor/assets/plugins/jqplot.pyramidGridRenderer.js
|
|
82
|
-
- vendor/assets/plugins/jqplot.
|
|
83
|
-
- vendor/assets/plugins/jqplot.pyramidRenderer.js
|
|
84
|
-
- vendor/assets/plugins/jqplot.
|
|
85
|
-
- vendor/assets/plugins/jqplot.trendline.js
|
|
86
|
-
- vendor/assets/
|
|
26
|
+
- vendor/assets/javascripts/jqplot/excanvas.js
|
|
27
|
+
- vendor/assets/javascripts/jqplot/jquery.jqplot.js
|
|
28
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.barRenderer.js
|
|
29
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.barRenderer.min.js
|
|
30
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.BezierCurveRenderer.js
|
|
31
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.BezierCurveRenderer.min.js
|
|
32
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.blockRenderer.js
|
|
33
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.blockRenderer.min.js
|
|
34
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.bubbleRenderer.js
|
|
35
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.bubbleRenderer.min.js
|
|
36
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.canvasAxisLabelRenderer.js
|
|
37
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js
|
|
38
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.canvasAxisTickRenderer.js
|
|
39
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js
|
|
40
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.canvasOverlay.js
|
|
41
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.canvasOverlay.min.js
|
|
42
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.canvasTextRenderer.js
|
|
43
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.canvasTextRenderer.min.js
|
|
44
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.categoryAxisRenderer.js
|
|
45
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.categoryAxisRenderer.min.js
|
|
46
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.ciParser.js
|
|
47
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.ciParser.min.js
|
|
48
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.cursor.js
|
|
49
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.cursor.min.js
|
|
50
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.dateAxisRenderer.js
|
|
51
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.dateAxisRenderer.min.js
|
|
52
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.donutRenderer.js
|
|
53
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.donutRenderer.min.js
|
|
54
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.dragable.js
|
|
55
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.dragable.min.js
|
|
56
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.enhancedLegendRenderer.js
|
|
57
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js
|
|
58
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.funnelRenderer.js
|
|
59
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.funnelRenderer.min.js
|
|
60
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.highlighter.js
|
|
61
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.highlighter.min.js
|
|
62
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.json2.js
|
|
63
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.json2.min.js
|
|
64
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.logAxisRenderer.js
|
|
65
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.logAxisRenderer.min.js
|
|
66
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.mekkoAxisRenderer.js
|
|
67
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.mekkoAxisRenderer.min.js
|
|
68
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.mekkoRenderer.js
|
|
69
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.mekkoRenderer.min.js
|
|
70
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.meterGaugeRenderer.js
|
|
71
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.meterGaugeRenderer.min.js
|
|
72
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.ohlcRenderer.js
|
|
73
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.ohlcRenderer.min.js
|
|
74
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pieRenderer.js
|
|
75
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pieRenderer.min.js
|
|
76
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pointLabels.js
|
|
77
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pointLabels.min.js
|
|
78
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pyramidAxisRenderer.js
|
|
79
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pyramidAxisRenderer.min.js
|
|
80
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pyramidGridRenderer.js
|
|
81
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pyramidGridRenderer.min.js
|
|
82
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pyramidRenderer.js
|
|
83
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.pyramidRenderer.min.js
|
|
84
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.trendline.js
|
|
85
|
+
- vendor/assets/javascripts/jqplot/plugins/jqplot.trendline.min.js
|
|
86
|
+
- vendor/assets/stylesheets/jquery.jqplot.css
|
|
87
87
|
- README.md
|
|
88
88
|
- Rakefile
|
|
89
89
|
- Manifest
|