This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jQuery.parseJSON() extension (supports ISO & Asp.net date conversion) | |
* | |
* Version 1.0 (13 Jan 2011) | |
* | |
* Copyright (c) 2011 Robert Koritnik | |
* Licensed under the terms of the MIT license | |
* http://www.opensource.org/licenses/mit-license.php | |
*/ | |
(function ($) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
var createWidgets = function ($el) { | |
var data = $el.attr('data-jqueryui'); | |
var widget = data, options = null, index = data.indexOf(':'); | |
if (index > 0) { | |
widget = data.substr(0, index); | |
eval("options = " + data.substr(index + 1).trim()); | |
} | |
// Sanity check: can't directly check that it's truly a _widget_, but |
NewerOlder