This file contains 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() { | |
"use strict"; | |
// Reduce version of jQuery (1.6.4) is loaded at this point in the JSVM. | |
var _$, | |
$form, | |
VERSION = '24', | |
timer, | |
$selectRegion = $('select[name="region"]'), | |
dataFilterHandler = function(data, dataType) { |
This file contains 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 renderItem(param_renItem, item) { | |
var renItem = param_renItem; | |
var tp = renItem.match(/{{[\d\w]*}}/g); | |
var indx; | |
var reg; | |
for (indx = 0; indx < tp.length; indx++) { | |
var p = tp[indx].replace(/[{}]/g, ''); | |
reg = new RegExp(tp[indx], "g"); | |
if (item.hasOwnProperty(p)) { |
This file contains 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
var WebDeveloper = WebDeveloper || {}; | |
WebDeveloper.Common = WebDeveloper.Common || {}; | |
WebDeveloper.Common.requestTimeout = 10000; | |
// Adds a class to an element | |
WebDeveloper.Common.addClass = function(element, className) | |
{ | |
// If the element and class name are set and the element does not already have this class | |
if(element && className && !WebDeveloper.Common.hasClass(element, className)) |
This file contains 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
// ==ClosureCompiler== | |
// @compilation_level ADVANCED_OPTIMIZATIONS | |
// @output_file_name content.js | |
// @externs_url http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/chrome_extensions.js | |
// @js_externs var console = {assert: function(){}}; | |
// @formatting pretty_print | |
// ==/ClosureCompiler== | |
/** @license | |
JSON Formatter | MIT License |
This file contains 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
/** | |
* This code contains an implementation of HTML5 outlining algorithm, as described by WHATWG at [1] | |
* | |
* The copyright notice at [2] says: | |
* (c) Copyright 2004-2009 Apple Computer, Inc., Mozilla Foundation, and Opera Software ASA. | |
* You are granted a license to use, reproduce and create derivative works of this document. | |
* | |
* [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#outlines | |
* [2] http://www.whatwg.org/specs/web-apps/current-work/multipage/index.html | |
*/ |