Skip to content

Commit

Permalink
Merge pull request #1 from vistaprint/master
Browse files Browse the repository at this point in the history
Updating
  • Loading branch information
texclayton committed Jan 29, 2014
2 parents 89914cb + 73e3b8b commit 72e8e8e
Show file tree
Hide file tree
Showing 155 changed files with 30,831 additions and 12,214 deletions.
15 changes: 6 additions & 9 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,20 @@
"devel": false,
"eqeqeq": false,
"eqnull": true,
"expr": true,
"evil": false,
"expr": true,
"immed": true,
"jquery": true,
"latedef": true,
"laxcomma": false,
"newcap": false,
"noarg": true,
"quotmark": true,
"smarttabs": false,
"sub": true,
"trailing": false,
"undef": true,
"strict": false,
"quotmark": true,
"sub": true,
"trailing": true,
"undef": true,
"unused": true,
"globals":
{
"jQuery": true
}
"white": true
}
42 changes: 22 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,32 @@ skinny.js is a collection of jQuery plugins that are useful for building web app
Skinny libraries
------------------

* [jQuery.partialLoad](http://vistaprint.github.io/SkinnyJS/docco/jquery.partialLoad.html): Works like jQuery.load, but is more intelligent about executing downloaded scripts (i.e. don't re-run scripts that are already loaded)
* [jQuery.clientRect](http://vistaprint.github.io/SkinnyJS/docco/jquery.clientRect.html): Gets element coordinates several orders of magnitude more efficiently than jQuery.top()/left()
* [jQuery.delimitedString](http://vistaprint.github.io/SkinnyJS/docco/jquery.delimitedString.html): Base class for parsing delimited strings, such as querystrings or CSS styles
* [jQuery.queryString](http://vistaprint.github.io/SkinnyJS/docco/jquery.queryString.html): Parses querystrings (the opposite of jQuery.param())
* [jQuery.css](http://vistaprint.github.io/SkinnyJS/docco/jquery.css.html): Parses and serializes CSS style strings
* [jQuery.url](http://vistaprint.github.io/SkinnyJS/docco/jquery.url.html): Parses and serializes URLs.
* [jQuery.disableEvent](http://vistaprint.github.io/SkinnyJS/docco/jquery.disableEvent.html): Temporarily disables/enables all event handlers for a DOM element
* [jQuery.hostIframe](http://vistaprint.github.io/SkinnyJS/docco/jquery.hostIframe.html): Manages references between iframe content and their host window
* [jQuery.hoverDelay](http://vistaprint.github.io/SkinnyJS/docco/jquery.hoverDelay.html): Simplified, more practical version of jQuery.hoverIntent plugin. TODO reference
* [jQuery.htmlEncode](http://vistaprint.github.io/SkinnyJS/docco/jquery.htmlEncode.html): Bare bones HTML encoding
* [jQuery.imageSize](http://vistaprint.github.io/SkinnyJS/docco/jquery.imageSize.html): Some utilities for dealing with image sizes, async loading, and fitting images to a bounding box
* [jQuery.isVisibleKeyCode](http://vistaprint.github.io/SkinnyJS/docco/jquery.isVisibleKeyCode.html): Extension to jQuery.Event which indicates if a keypress is a visible character (i.e. not a function or modifier key)
* [jQuery.msAjax](http://vistaprint.github.io/SkinnyJS/docco/jquery.msAjax.html): Microsoft friendly AJAX. Handles the quirks of ASMX, WCF, DataJsonContractSerializer, Microsoft's JSON date format, and provides an interface identical to jQuery.ajax().
* [jQuery.ns](http://vistaprint.github.io/SkinnyJS/docco/jquery.ns.html): Declare namespaces without boilerplate
* [jQuery.postMessage](http://vistaprint.github.io/SkinnyJS/docco/jquery.postMessage.html): Provides cross-document messaging support, works on all browsers to IE6 (without URL fragments and polling).
* [jQuery.proxyAll](http://vistaprint.github.io/SkinnyJS/docco/jquery.proxyAll.html): Binds functions to their host object (like jQuery.proxy(), but for all functions declared as properties of an object at once)
* [jQuery.uncomment](http://vistaprint.github.io/SkinnyJS/docco/jquery.uncomment.html): Allows lazy evaluation of HTML blobs by removing them from comment blocks
* [jQuery.customEvent](http://vistaprint.github.io/SkinnyJS/docco/jquery.customEvent.html): A class that implements an observable event, useful for cases where there's no DOM element involved.
<!-- * [jQuery.cookie](http://vistaprint.github.io/SkinnyJS/docco/jquery.cookie.html): TODO -->
* [date-parse](http://vistaprint.github.io/SkinnyJS/date-parse.html): Polyfill for Date.parse to ensure support for ISO 8601 dates. Also provides support for Microsoft JSON format dates.
* [jQuery.clientRect](http://vistaprint.github.io/SkinnyJS/jquery.clientRect.html): Gets element coordinates several orders of magnitude more efficiently than jQuery.top()/left()
* [jQuery.cookies](http://vistaprint.github.io/SkinnyJS/jquery.cookies.html): Practically oriented cookie management.
* [jQuery.css](http://vistaprint.github.io/SkinnyJS/jquery.css.html): Parses and serializes CSS style strings
* [jQuery.customEvent](http://vistaprint.github.io/SkinnyJS/jquery.customEvent.html): A class that implements an observable event, useful for cases where there's no DOM element involved.
* [jQuery.delimitedString](http://vistaprint.github.io/SkinnyJS/jquery.delimitedString.html): Base class for parsing delimited strings, such as querystrings or CSS styles
* [jQuery.disableEvent](http://vistaprint.github.io/SkinnyJS/jquery.disableEvent.html): Temporarily disables/enables all event handlers for a DOM element
* [jQuery.hostIframe](http://vistaprint.github.io/SkinnyJS/jquery.hostIframe.html): Manages references between iframe content and their host window
* [jQuery.hoverDelay](http://vistaprint.github.io/SkinnyJS/jquery.hoverDelay.html): Simplified, more practical version of jQuery.hoverIntent plugin. TODO reference
* [jQuery.htmlEncode](http://vistaprint.github.io/SkinnyJS/jquery.htmlEncode.html): Bare bones HTML encoding
* [jQuery.imageSize](http://vistaprint.github.io/SkinnyJS/jquery.imageSize.html): Some utilities for dealing with image sizes, async loading, and fitting images to a bounding box
* [jQuery.isVisibleKeyCode](http://vistaprint.github.io/SkinnyJS/jquery.isVisibleKeyCode.html): Extension to jQuery.Event which indicates if a keypress is a visible character (i.e. not a function or modifier key)
* [jQuery.msAjax](http://vistaprint.github.io/SkinnyJS/jquery.msAjax.html): Microsoft friendly AJAX. Handles the quirks of ASMX, WCF, DataJsonContractSerializer, Microsoft's JSON date format, and provides an interface identical to jQuery.ajax().
* [jQuery.ns](http://vistaprint.github.io/SkinnyJS/jquery.ns.html): Declare namespaces without boilerplate
* [jQuery.partialLoad](http://vistaprint.github.io/SkinnyJS/jquery.partialLoad.html): Works like jQuery.load, but is more intelligent about executing downloaded scripts (i.e. don't re-run scripts that are already loaded)
* [jQuery.postMessage](http://vistaprint.github.io/SkinnyJS/jquery.postMessage.html): Provides cross-document messaging support, works on all browsers to IE6 (without URL fragments and polling).
* [jQuery.proxyAll](http://vistaprint.github.io/SkinnyJS/jquery.proxyAll.html): Binds functions to their host object (like jQuery.proxy(), but for all functions declared as properties of an object at once)
* [jQuery.queryString](http://vistaprint.github.io/SkinnyJS/jquery.queryString.html): Parses querystrings (the opposite of jQuery.param())
* [jQuery.scrollAnchor](http://vistaprint.github.io/SkinnyJS/jquery.scrollAnchor.html): Smooth scrolling support for anchor elements with internal references.
* [jQuery.uncomment](http://vistaprint.github.io/SkinnyJS/jquery.uncomment.html): Allows lazy evaluation of HTML blobs by removing them from comment blocks.
* [jQuery.url](http://vistaprint.github.io/SkinnyJS/jquery.url.html): Parses and serializes URLs.

Skinny UI components
------------------

* [jQuery.menu](http://vistaprint.github.io/SkinnyJS/docco/jquery.menu.html): A traditional hierarchical menu widget, designed from the ground up to be both touch and mouse friendly. TODO: Get existing docs from the wiki
* [jQuery.menu](http://vistaprint.github.io/SkinnyJS/jquery.menu.html): A traditional hierarchical menu widget, designed from the ground up to be both touch and mouse friendly. TODO: Get existing docs from the wiki
* [jQuery.modalDialog](http://vistaprint.github.io/SkinnyJS/jquery.modalDialog.html): A powerful modal dialog system that works across all devices: TODO: Get existing docs from the wiki

Dependencies
Expand Down
11 changes: 11 additions & 0 deletions css/jquery.modalDialog.less
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,17 @@
iframe
{
background-color: transparent;
z-index: 1;
}

.dialog-content-overlay
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
}
}
}
60 changes: 60 additions & 0 deletions dependencies/chai-assert-oldie.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
var chai = {};

chai.assert =
{
equal: function(actual, expected, message)
{
if (actual != expected)
{
throw new Error(message || "expected " + actual + " to equal " + expected);
}
},

isString: function(actual, message)
{
if (typeof(actual) != "string")
{
throw new Error(message || "expected " + actual + " to be a string");
}
},

isUndefined: function(actual, message)
{
if (typeof(actual) != "undefined")
{
throw new Error(message || "expected " + actual + " to be undefined");
}
},

isTrue: function(actual, message)
{
if (actual !== true)
{
throw new Error(message || "expected " + actual + " to be true");
}
},

isFalse: function(actual, message)
{
if (actual !== false)
{
throw new Error(message || "expected " + actual + " to be false");
}
},

ok: function(actual, message)
{
if (!actual)
{
throw new Error(message || "expected " + actual + " to be truthy");
}
},

notOk: function(actual, message)
{
if (actual)
{
throw new Error(message || "expected " + actual + " to be falsey");
}
}
};
Loading

0 comments on commit 72e8e8e

Please sign in to comment.