Skip to content

Commit 93cde40

Browse files
committed
Updating version, removing deprecated plugins, fixing download builder links.
1 parent dd9e2f4 commit 93cde40

File tree

3 files changed

+18
-92
lines changed

3 files changed

+18
-92
lines changed

_includes/builder.html

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,94 +2,79 @@
22
<h4><a href="#dom_helpers">DOM HELPERS</a> - faster and easier DOM manipulation with:</h4>
33

44
<label>
5-
<input type="checkbox" value="jquerypp/dom/animate" name="plugins"/>
5+
<input type="checkbox" value="jquerypp/dom/animate/animate" name="plugins"/>
66
<a href="#animate">jQuery.animate</a> - animate using CSS animations
77
</label>
88

99
<label>
10-
<input type="checkbox" value="jquerypp/dom/compare" name="plugins"/>
10+
<input type="checkbox" value="jquerypp/dom/compare/compare" name="plugins"/>
1111
<a href="#compare">jQuery.compare</a> - compare element document position
1212
</label>
1313

1414
<label>
15-
<input type="checkbox" value="jquerypp/dom/cookie" name="plugins"/>
15+
<input type="checkbox" value="jquerypp/dom/cookie/cookie" name="plugins"/>
1616
<a href="#cookie">jQuery.cookie</a> - read and write cookies
1717
</label>
1818

1919
<label>
20-
<input type="checkbox" value="jquerypp/dom/dimensions" name="plugins"/>
21-
<a href="#dimensions">jQuery.dimensions</a> - set and animate innerWidth and outerWidth
22-
</label>
23-
24-
<label>
25-
<input type="checkbox" value="jquerypp/dom/form_params" name="plugins"/>
20+
<input type="checkbox" value="jquerypp/dom/form_params/form_params" name="plugins"/>
2621
<a href="#formparams">jQuery.formParams</a> - serializes a form into an object
2722
</label>
2823

2924
<label>
30-
<input type="checkbox" value="jquerypp/dom/range" name="plugins"/>
25+
<input type="checkbox" value="jquerypp/dom/range/range" name="plugins"/>
3126
<a href="#range">jQuery.range</a> - create and manipulate text ranges
3227
</label>
3328

3429
<label>
35-
<input type="checkbox" value="jquerypp/dom/selection" name="plugins"/>
30+
<input type="checkbox" value="jquerypp/dom/selection/selection" name="plugins"/>
3631
<a href="#selection">jQuery.selection</a> - get and set the current text selection
3732
</label>
3833

3934
<label>
40-
<input type="checkbox" value="jquerypp/dom/styles" name="plugins"/>
41-
<a href="#styles">jQuery.styles</a> - quickly read computed styles
42-
</label>
43-
44-
<label>
45-
<input type="checkbox" value="jquerypp/dom/within" name="plugins"/>
35+
<input type="checkbox" value="jquerypp/dom/within/within" name="plugins"/>
4636
<a href="#within">jQuery.within</a> - get elements within an area or at a point
4737
</label>
4838

4939
<h4><a href="#events">EVENTS</a> - listen to special events with:</h4>
5040

5141
<label>
52-
<input type="checkbox" value="jquerypp/event/destroyed" name="plugins"/>
42+
<input type="checkbox" value="jquerypp/event/destroyed/destroyed" name="plugins"/>
5343
<a href="#destroyed">jQuery.event.destroyed</a> - an element is removed from the DOM
5444
</label>
5545

5646
<label>
57-
<input type="checkbox" value="jquerypp/event/drag" name="plugins"/>
47+
<input type="checkbox" value="jquerypp/event/drag/drag" name="plugins"/>
5848
<a href="#drag">jQuery.event.drag</a> - delegatable drag events
5949
</label>
6050

6151
<label>
62-
<input type="checkbox" value="jquerypp/event/drop" name="plugins"/>
52+
<input type="checkbox" value="jquerypp/event/drop/drop" name="plugins"/>
6353
<a href="#drop">jQuery.event.drop</a> - delegatable drop events
6454
</label>
6555

6656
<label>
67-
<input type="checkbox" value="jquerypp/event/fastfix" name="plugins"/>
68-
<a href="#fastfix">jQuery.event.fastfix</a> - faster jQuery.event.fix using ES5 getters
69-
</label>
70-
71-
<label>
72-
<input type="checkbox" value="jquerypp/event/hover" name="plugins"/>
57+
<input type="checkbox" value="jquerypp/event/hover/hover" name="plugins"/>
7358
<a href="#hover">jQuery.event.hover</a> - delegatable hover events
7459
</label>
7560

7661
<label>
77-
<input type="checkbox" value="jquerypp/event/key" name="plugins"/>
62+
<input type="checkbox" value="jquerypp/event/key/key" name="plugins"/>
7863
<a href="#key">jQuery.event.key</a> - returns a string representation of the key pressed
7964
</label>
8065

8166
<label>
82-
<input type="checkbox" value="jquerypp/event/pause" name="plugins"/>
67+
<input type="checkbox" value="jquerypp/event/pause/pause" name="plugins"/>
8368
<a href="#pause">jQuery.event.pause</a> - pause and resume event propagation
8469
</label>
8570

8671
<label>
87-
<input type="checkbox" value="jquerypp/event/resize" name="plugins"/>
72+
<input type="checkbox" value="jquerypp/event/resize/resize" name="plugins"/>
8873
<a href="#resize">jQuery.event.resize</a> - listen to a resize event on every object
8974
</label>
9075

9176
<label>
92-
<input type="checkbox" value="jquerypp/event/swipe" name="plugins"/>
77+
<input type="checkbox" value="jquerypp/event/swipe/swipe" name="plugins"/>
9378
<a href="#swipe">jQuery.event.swipe</a> - delegatable swipe events
9479
</label>
9580

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div id='header'>
1919
<div id='logo-and-download'>
2020
<img alt="jQuery++" id="logo" src="images/logo.png"/>
21-
<a class='primary' href='http://jquerypp.com/downloads/jquerypp-{{page.version}}.zip'>Download {{page.version}}</a>
21+
<a class='primary' href='https://github.com/bitovi/jquerypp/archive/{{page.version}}.tar.gz'>Download {{page.version}}</a>
2222
</div>
2323
</div>
2424
<div class='cf' id='buttons'>

index.md

Lines changed: 2 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
version: 1.0.1
3+
version: 2.0.0
44
---
55

66
# Hi, I'm jQuery++.
@@ -169,30 +169,6 @@ The example uses `jQuery.cookie` and [formParams](#formParams) to persist a form
169169

170170
<iframe style="width: 100%; height: 300px" src="http://jsfiddle.net/wMN7G/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0">JSFiddle</iframe>
171171

172-
## dimensions
173-
174-
[Annotated source](http://jquerypp.com/release/latest/docs/dimensions.html)
175-
176-
[jQuery.dimensions](http://donejs.com/docs.html#!jQuery.dimensions) overwrites `$.fn.innerWidth`, `$.fn.outerWidth`, `$.fn.innerHeight`, `$.fn.outerHeight` and enables `$.fn.animate` to animate these values. Inner dimensions include the padding where outer dimensions also take care of borders and margins (if *includeMargin* is set to `true`). Set and read these values using:
177-
178-
* `$(el).innerHeight([height])`
179-
* `$(el).outerHeight([height], [includeMargin])`
180-
* `$(el).innerWidth([width])`
181-
* `$(el).outerWidth([width], [includeMargin])`
182-
183-
And use `$(el).animate({ innerHeight : 100 })` to animate them. This is useful when you care about animating/setting the visual dimension of an element (which is what you typically want to do):
184-
185-
{% highlight javascript %}
186-
$('#foo').outerWidth(100).innerHeight(50);
187-
$('#bar').animate({ outerWidth: 500 });
188-
{% endhighlight %}
189-
190-
The following example lets you change the different width properties used by `$(el).innerWidth([width])` and
191-
`$(el).outerWidth([width], [includeMargin])` like margin, padding and border and shows how it influences the other
192-
values:
193-
194-
<iframe style="width: 100%; height: 500px" src="http://jsfiddle.net/5ZbSH/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0">JSFiddle</iframe>
195-
196172
## formParams `$(form).formParams([convert]) -> Object|jQuery`
197173

198174
[Annotated source](http://jquerypp.com/release/latest/docs/form_params.html)
@@ -322,22 +298,6 @@ The following example shows how `$.fn.selection` can be used. Initially the sele
322298

323299
<iframe style="width: 100%; height: 200px" src="http://jsfiddle.net/uze4F/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0">JSFiddle</iframe>
324300

325-
## styles `$(el).styles() -> Object`
326-
327-
[Annotated source](http://jquerypp.com/release/latest/docs/styles.html)
328-
329-
[jQuery.styles](http://donejs.com/docs.html#!jQuery.styles) adds `$.fn.styles` as a fast way of getting a set of computed styles from an element. It performs much faster than retrieving them individually e.g. by using [jQuery.css()](http://api.jquery.com/css/). Computed styles reflect the actual current style of an element, including browser defaults and CSS settings.
330-
331-
{% highlight javascript %}
332-
$("#foo").styles('float','display')
333-
// -> { cssFloat: "left", display: "block" }
334-
{% endhighlight %}
335-
336-
The following example implements a `fastHeight` jQuery plugin which uses `$.fn.styles` to calculate the element height and compares
337-
the runtime to the equivalent [jQuery.height](http://api.jquery.com/height/):
338-
339-
<iframe style="width: 100%; height: 250px" src="http://jsfiddle.net/6CcaG/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0">JSFiddle</iframe>
340-
341301
## within `$(el).within(left, top, [useOffsetCache]) -> jQuery`
342302

343303
[Annotated source](http://jquerypp.com/release/latest/docs/within.html)
@@ -480,22 +440,6 @@ The following example shows two draggable elements and a drop area. When a drag
480440

481441
<iframe style="width: 100%; height: 250px" src="http://jsfiddle.net/3NkZM/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0">JSFiddle</iframe>
482442

483-
## fastfix
484-
485-
[Annotated source](http://jquerypp.com/release/latest/docs/fastfix.html)
486-
487-
[jQuery.event.fastfix](http://donejs.com/docs.html#!jQuery.event.fastfix) speeds up `jQuery.event.fix` by using ECMAScript 5
488-
getters. `jQuery.event.fix` is used to normalize a DOM event before it gets passed as a
489-
[jQuery.Event](http://api.jquery.com/category/events/event-object/) instance to event handlers. This is usually done by
490-
*copying* the properties from the DOM event. `jQuery.event.fastfix` uses ES 5 getters to access these properties
491-
only when they are needed.
492-
493-
Since `jQuery.event.fix` usually takes up a major portion of an applications runtime, using `jQuery.event.fastfix`
494-
can significantly improve overall performance - just by including this plugin. The following chart [compares the
495-
performance](http://jsperf.com/jquery-event-fix/6) of the original `jQuery.event.fix` and `jQuery.event.fastfix` in major browsers:
496-
497-
![jQuery.event.fastfix performance](images/fastfix.png)
498-
499443
## hover `hoverinit` `hoverenter` `hovermove` `hoverleave`
500444

501445
[Annotated source](http://jquerypp.com/release/latest/docs/hover.html)
@@ -652,7 +596,7 @@ $('#foo').on('resize', function() {
652596
$(document.body).resize();
653597
{% endhighlight %}
654598

655-
The `resize` event makes creating application like layouts a lot easier. The following example creates a common layout with top, left, right and center elements within a container. Use the blue square to resize the outside container. The `resize` event will take care of adjusting the dimensions of the inside elements accordingly using the [jQuery.dimensions](#dimensions) plugin:
599+
The `resize` event makes creating application like layouts a lot easier. The following example creates a common layout with top, left, right and center elements within a container. Use the blue square to resize the outside container. The `resize` event will take care of adjusting the dimensions of the inside elements:
656600

657601
<iframe style="width: 100%; height: 350px" src="http://jsfiddle.net/3dRGM/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0">JSFiddle</iframe>
658602

@@ -722,7 +666,6 @@ Bitovi _(developers of jQuery++)_ offers [training](http://bitovi.com/training/)
722666
jQuery++ does things the jQuery way, which makes it really easy to learn if you are already familiar with jQuery.
723667
Get functionality that was always tricky to implement from one coherent library:
724668

725-
- Set and animate outer and inner dimensions with [dimensions](#dimensions)
726669
- Serialize forms into objects with [formParams](#formparams)
727670
- [Drag](#drag) & [drop](#drop) events - no need for jQuery UI
728671
- [Resize](#resize) elements the right way
@@ -743,9 +686,7 @@ way of handling events.
743686

744687
Some jQuery++ plugins can help to significantly speed up your applications. Use
745688

746-
- [styles](#styles) to get computed style from an element a lot faster
747689
- [compare](#compare) to quickly compare element positions
748-
- [fastfix](#fastfix) to speed up jQuery's event handling on modern browsers
749690
- [destroyed](#destroyed) to avoid memory leaks and keep your references up to date when elements get removed from the DOM
750691

751692
### Supported

0 commit comments

Comments
 (0)