code
stringlengths
1
2.08M
language
stringclasses
1 value
/**@constructor*/ function ChainNode(object, link) { this.value = object; this.link = link; // describes this node's relationship to the previous node } /**@constructor*/ function Chain(valueLinks) { this.nodes = []; this.cursor = -1; if (valueLinks && valueLinks.length > 0) { this.push(valueLinks[0], "//"); ...
JavaScript
/** * @class <pre> This is a lightly modified version of Kevin Jones' JavaScript library Data.Dump. To download the original visit: <a href="http://openjsan.org/doc/k/ke/kevinj/Data/Dump/">http://openjsan.org/doc/k/ke/kevinj/Data/Dump/</a> AUTHORS The Data.Dump JavaScript module is written by Kevin Jones (kevin...
JavaScript
/**@constructor*/ function Reflection(obj) { this.obj = obj; } Reflection.prototype.getConstructorName = function() { if (this.obj.constructor.name) return this.obj.constructor.name; var src = this.obj.constructor.toSource(); var name = src.substring(name.indexOf("function")+8, src.indexOf('(')).replace(/ /g,''); ...
JavaScript
/** @name String @class Additions to the core string object. */ /** @author Steven Levithan, released as public domain. */ String.prototype.trim = function() { var str = this.replace(/^\s+/, ''); for (var i = str.length - 1; i >= 0; i--) { if (/\S/.test(str.charAt(i))) { str = str.substring(0, i + 1); brea...
JavaScript
/** @constructor */ JSDOC.SymbolSet = function() { this.init(); } JSDOC.SymbolSet.prototype.init = function() { this._index = new Hash(); } JSDOC.SymbolSet.prototype.keys = function() { return this._index.keys(); } JSDOC.SymbolSet.prototype.hasSymbol = function(alias) { return this._index.hasKey(alias); } JSDOC...
JavaScript
/** * @namespace * @deprecated Use {@link FilePath} instead. */ JSDOC.Util = { } /** * @deprecated Use {@link FilePath.fileName} instead. */ JSDOC.Util.fileName = function(path) { LOG.warn("JSDOC.Util.fileName is deprecated. Use FilePath.fileName instead."); var nameStart = Math.max(path.lastIndexOf("/")+1, pat...
JavaScript
/** @constructor */ JSDOC.JsPlate = function(templateFile) { if (templateFile) this.template = IO.readFile(templateFile); this.templateFile = templateFile; this.code = ""; this.parse(); } JSDOC.JsPlate.prototype.parse = function() { this.template = this.template.replace(/\{#[\s\S]+?#\}/gi, ""); this.code = "v...
JavaScript
if (typeof JSDOC == "undefined") JSDOC = {}; /** @constructor */ JSDOC.DocTag = function(src) { this.init(); if (typeof src != "undefined") { this.parse(src); } } /** Create and initialize the properties of this. */ JSDOC.DocTag.prototype.init = function() { this.title = ""; this.type = ""; ...
JavaScript
if (typeof JSDOC == "undefined") JSDOC = {}; /** @constructor */ JSDOC.Token = function(data, type, name) { this.data = data; this.type = type; this.name = name; } JSDOC.Token.prototype.toString = function() { return "<"+this.type+" name=\""+this.name+"\">"+this.data+"</"+this.type+">"; } JSDOC.Token.prototype...
JavaScript
if (typeof JSDOC == "undefined") JSDOC = {}; /** @class Search a {@link JSDOC.TextStream} for language tokens. */ JSDOC.TokenReader = function() { this.keepDocs = true; this.keepWhite = false; this.keepComments = false; } /** @type {JSDOC.Token[]} */ JSDOC.TokenReader.prototype.tokenize = function(/**JSDOC.Text...
JavaScript
/** @namespace Holds functionality related to running plugins. */ JSDOC.PluginManager = { } /** @param name A unique name that identifies that plugin. @param handlers A collection of named functions. The names correspond to hooks in the core code. */ JSDOC.PluginManager.registerPlugin = function(/**String*/name, /*...
JavaScript
if (typeof JSDOC == "undefined") JSDOC = {}; /** @constructor */ JSDOC.Walker = function(/**JSDOC.TokenStream*/ts) { this.init(); if (typeof ts != "undefined") { this.walk(ts); } } JSDOC.Walker.prototype.init = function() { this.ts = null; var globalSymbol = new JSDOC.Symbol("_global_", [], "GLOBAL", new JSDO...
JavaScript
if (typeof JSDOC == "undefined") JSDOC = {}; /** @constructor */ JSDOC.TokenStream = function(tokens) { this.tokens = (tokens || []); this.rewind(); } /** @constructor @private */ function VoidToken(/**String*/type) { this.toString = function() {return "<VOID type=\""+type+"\">"}; this.is = function(){return f...
JavaScript
/** @constructor */ JSDOC.TextStream = function(text) { if (typeof(text) == "undefined") text = ""; text = ""+text; this.text = text; this.cursor = 0; } JSDOC.TextStream.prototype.look = function(n) { if (typeof n == "undefined") n = 0; if (this.cursor+n < 0 || this.cursor+n >= this.text.length) { var resu...
JavaScript
if (typeof JSDOC == "undefined") JSDOC = {}; /** Create a new Symbol. @class Represents a symbol in the source code. */ JSDOC.Symbol = function() { this.init(); if (arguments.length) this.populate.apply(this, arguments); } JSDOC.Symbol.count = 0; JSDOC.Symbol.prototype.init = function() { this._name = ""; thi...
JavaScript
/** @constructor @param [opt] Used to override the commandline options. Useful for testing. @version $Id: JsDoc.js 831 2010-03-09 14:24:56Z micmath $ */ JSDOC.JsDoc = function(/**object*/ opt) { if (opt) { JSDOC.opt = opt; } if (JSDOC.opt.h) { JSDOC.usage(); quit(); } // defend against options that ar...
JavaScript
if (typeof JSDOC == "undefined") JSDOC = {}; /** @namespace @requires JSDOC.Walker @requires JSDOC.Symbol @requires JSDOC.DocComment */ JSDOC.Parser = { conf: { ignoreCode: JSDOC.opt.n, ignoreAnonymous: true, // factory: true treatUnderscoredAsPrivate: true, // factory: true explai...
JavaScript
/** @namespace */ JSDOC.Lang = { } JSDOC.Lang.isBuiltin = function(name) { return (JSDOC.Lang.isBuiltin.coreObjects.indexOf(name) > -1); } JSDOC.Lang.isBuiltin.coreObjects = ['_global_', 'Array', 'Boolean', 'Date', 'Error', 'Function', 'Math', 'Number', 'Object', 'RegExp', 'String']; JSDOC.Lang.whitespace = functio...
JavaScript
if (typeof JSDOC == "undefined") JSDOC = {}; /** Create a new DocComment. This takes a raw documentation comment, and wraps it in useful accessors. @class Represents a documentation comment object. */ JSDOC.DocComment = function(/**String*/comment) { this.init(); if (typeof comment != "undefined") { this.pars...
JavaScript
/** @overview @date $Date: 2010-06-13 22:02:44 +0100 (Sun, 13 Jun 2010) $ @version $Revision: 837 $ @location $HeadURL: https://jsdoc-toolkit.googlecode.com/svn/tags/jsdoc_toolkit-2.4.0/jsdoc-toolkit/app/lib/JSDOC.js $ @name JSDOC.js */ /** This is the main container for the JSDOC application. @namespace */ J...
JavaScript
IO.include("frame/Opt.js"); IO.include("frame/Chain.js"); IO.include("frame/Link.js"); IO.include("frame/String.js"); IO.include("frame/Hash.js"); IO.include("frame/Namespace.js"); //IO.include("frame/Reflection.js"); /** A few helper functions to make life a little easier. */ function defined(o) { return (o !== und...
JavaScript
/** * @name Foo * @class */ /**#@+ * @memberOf Foo# * @field */ /** * @name bar * @type Object[] */ /**#@-*/ /** * @name Foo2 * @class */ /**#@+ * @memberOf Foo2# * @field */ /** * @name bar * @type Object[] */ /**#@-*/
JavaScript
/** @constructor */ function Foo() { var bar = 1; bar = 2; // redefining a private this.baz = 1; baz = 2; // global /** a private */ var blap = { /** in here */ tada: 1 } }
JavaScript
/** @constructor */ function LibraryItem() { this.reserve = function() { } } /** @constructor */ function Junkmail() { this.annoy = function() { } } /** @inherits Junkmail.prototype.annoy as pester @augments ThreeColumnPage @augments LibraryItem @constructor */ function NewsletterPage() { this.getHeadline = func...
JavaScript
/** * Builtin object. * @class * @name Array */ /**#@+ * Extension to builtin array. * @memberOf Array * @method */ /** * @returns Boolen if some array members... */ Array.prototype.some = function(){}; /** * Change every element of an array. * @returns Filtered array copy. */ Array.prototype.filter ...
JavaScript
/** @namespace This is the first namespace. */ ns1 = {}; /** This is the second namespace. @namespace */ ns1.ns2 = {}; /** This part of ns1.ns2 @constructor */ ns1.ns2.Function1 = function() { }; ns1.staticFunction = function() { }; /** A static field in a namespace. */ ns1.ns2.staticField = 1;
JavaScript
var Person = makeClass( /** @scope Person */ { /** This is just another way to define a constructor. @constructs @param {string} name The name of the person. */ initialize: function(name) { this.name = name; }, say: functi...
JavaScript
/** the parent */ var box = {}; /** @namespace */ box.holder = {} box.holder.foo = function() { /** the counter */ this.counter = 1; } box.holder.foo(); print(box.holder.counter);
JavaScript
/** * @overview This "library" contains a * lot of classes and functions. * @example <pre> var x (x < 1); alert("This 'is' \"code\""); </pre> * @name My Cool Library * @author Joe Smith [email protected] * @version 0.1 */ /** * Gets the current foo * @param {String} fooId The unique ...
JavaScript
/** * @name Kitchen * @constructor * @fires Bakery#event:donutOrdered */ /** * Fired when some cake is eaten. * @name Kitchen#event:cakeEaten * @function * @param {Number} pieces The number of pieces eaten. */ /** * Find out if cake was eaten. * @name Kitchen#cakeEaten * @function * @param {Boolean} wasE...
JavaScript
/** @constructor */ function Circle(){} /** @constructor @memberOf Circle# */ Circle.prototype.Tangent = function(){}; // renaming Circle#Tangent to Circle#Circle#Tangent /** @memberOf Circle#Tangent# */ Circle.prototype.Tangent.prototype.getDiameter = function(){};
JavaScript
/** @class */ function thisiscode() { }
JavaScript
/**@constructor*/ function Foo() { /** @public @static @field */ var bar = function(x) { } }
JavaScript
/** @class @inherits Bar#zop as #my_zop */ function Foo() { /** this is a zip. */ this.zip = function() {} /** from Bar */ this.my_zop = new Bar().zop; } /** @class @borrows Foo#zip as this.my_zip */ function Bar() { /** this is a zop. */ this.zop = function() {} /** from Foo */ this.my_zip = new Foo()...
JavaScript
/** * @param {Object} object * @return {string} */ function valueOf(object) {} /** * @param {Object} object * @return {string} */ function toString(object) {} /** * @param {Object} object * @return {string} */ function toSource(object) {} /** * @param {Object} object * @return {string} */ function constr...
JavaScript
// testing circular borrows /** @class @borrows Bar#zop as this.my_zop */ function Foo() { /** this is a zip. */ this.zip = function() {} this.my_zop = new Bar().zop; } /** @class @borrows Foo#zip as this.my_zip */ function Bar() { /** this is a zop. */ this.zop = function() {} this.my_zip = new Foo().z...
JavaScript
/** @constructor */ function Zop() { } /** @class */ Foo = function(id) { // this is a bit twisted, but if you call Foo() you will then // modify Foo(). This is kinda, sorta non-insane, because you // would have to call Foo() 100% of the time to use Foo's methods Foo.prototype.methodOne = function(bar) { alert...
JavaScript
startOver = function(){ }
JavaScript
/** * @name bar * @namespace */ new function() { /** * @name bar-foo * @function * @param {number} x */ function foo(x) { } }
JavaScript
/** * @constructor */ function Foo() { /** @memberOf Foo.prototype */ function bar(a, b) { } /** @memberOf Foo */ var zip = function(p, q) { } /** @memberOf Foo */ function zop( x,y ) { } /** @memberOf Foo @constructor */ ...
JavaScript
/** @class */ var Person = Class.create( /** @lends Person.prototype */ { initialize: function(name) { this.name = name; }, say: function(message) { return this.name + ': ' + message; } } ); /** @lends Person.prototype */ { /** like say bu...
JavaScript
/** @namespace */ var mxn = {}; (function(){ /** @exports Map as mxn.Map */ var Map = /** @constructor */ mxn.Map = function() { }; /** A method. */ Map.prototype.doThings = function() { }; })();
JavaScript
/** Get the entire flavor. @name flavor^3 @function @returns {Object} The entire flavor hash. */ /** Get a named flavor. @name flavor^2 @function @param {String} name The name of the flavor to get. @returns {String} The value of that flavor. */ /** Set the flavor. @param {String} name The name of the flavor...
JavaScript
/** @constructor */ pack = function() { this.init = function(){} function config(){} } pack.build = function(task) {}; /** @memberOf pack */ pack.install = function() {} /** @memberOf pack */ pack.install.overwrite = function() {} /** @memberOf pack */ clean = function() {} /** @memberOf pack-config */ install...
JavaScript
/** @name Response @class */ Response.prototype = { /** @name Response#text @function @description Gets the body of the response as plain text @returns {String} Response as text */ text: function() { return this.nativeResponse.responseText; } }
JavaScript
/** @constructor */ function Layout(p) { /** initilize 1 */ this.init = function(p) { } /** get the id */ this.getId = function() { } /** @type string */ this.orientation = "landscape"; function getInnerElements(elementSecretId){ } } /** A static method. */ Layout.units = function() { } /** @construct...
JavaScript
/** * @fileoverview This file is to be used for testing the JSDoc parser * It is not intended to be an example of good JavaScript OO-programming, * nor is it intended to fulfill any specific purpose apart from * demonstrating the functionality of the * <a href='http://sourceforge.net/projects/jsdoc'>JSDoc</a> p...
JavaScript
/** an anonymous constructor executed inline */ a = new function() { /** a.b*/ this.b = 1; /** a.f */ this.f = function() { /** a.c */ this.c = 2; } } /** named function executed inline */ bar1 = function Zoola1() { /** property of global */ this.g = 1; }(); /** named constructor execu...
JavaScript
/** * @constructor * @param person The person. * @param {string} person.name The person's name. * @config {integer} age The person's age. * @config [id=1] Optional id number to use. * @param connection */ function Contact(person, connection) { } /** * @constructor * @param persons * @config {string} Father ...
JavaScript
// /**#=+ // * { // * 'D': 'Date.prototype', // * '$N': 'Number' // * } // */ // var D = Date.prototype, // $N = Number; // // D.locale = function(){ // }; // // /** // @return {string} The cardinal number string. // */ // $N.nth = function(n){ // }; // // LOAD.file = function(){ // } // // /**#=-*/
JavaScript
/** @constructor */ function Layout(p) { this.init = function(p) { } this.getId = function() { } /** @type Page */ this.orientation = "landscape"; } /** @constructor @augments Layout */ function Page() { this.reset = function(b) { } } /** @extends Page @constructor */ function ThreeColumnPage() { this.in...
JavaScript
/** * A test constructor. * @constructor * @ignore */ function Ignored() { /** a method */ this.bar = function() { } }
JavaScript
/** ecks */ var x = [1, 2, 4]; var y = { foo: function(){ } } bar = function() { } function zop() { }
JavaScript
/** * @constructor */ function Outer() { /** * @constructor */ function Inner(name) { /** The name of this. */ this.name = name; } this.open = function(name) { return (new Inner(name)); } }
JavaScript
String.prototype.reverse = function() { } String.prototype.reverse.utf8 = function() { } Function.count = function() { } /** @memberOf Function */ Function.count.reset = function() { } /** @memberOf Function */ count.getValue = function() { } /** @memberOf Function.prototype */ getSig = function() { } /** @member...
JavaScript
/** * @Constructor * @desc 配置文件 * @class 什么也不返回 */ function Test(conf) { // do something; }
JavaScript
/** @constructor @param columns The number of columns. */ function Layout(/**int*/columns){ /** @param [id] The id of the element. @param elName The name of the element. */ this.getElement = function( /** string */ elName, /** number|string */ id ) { }; /** @constructor */ this.Canvas = function...
JavaScript
/** @namespace */ myProject = myProject || {}; /** @namespace */ myProject.myModule = (function () { /** describe myPrivateVar here */ var myPrivateVar = ""; var myPrivateMethod = function () { } /** @scope myProject.myModule */ return { myPublicMethod: function () { } }; })();
JavaScript
/** * @param {Page[]} pages * @param {number} [id] Specifies the id, if applicable. * @param {String} [title = This is untitled.] Specifies the title. */ function Document(pages, id, title){ }
JavaScript
/**#nocode+*/ /** @name star @function */ function blahblah() { } /**#nocode-*/ function yaddayadda() { }
JavaScript
function example(/**Circle*/a, b) { /** a global defined in function */ var number = a; var hideNumber = function(){ } setNumber = function(){ } alert('You have chosen: ' + b); } function initPage() { var supported = document.createElement && document.getElementsByTagName; if (!supported) return; // sta...
JavaScript
/** the options */ opt = Opt.get( arguments, { d: "directory", c: "conf", "D[]": "define" } ); /** configuration */ opt.conf = { /** keep */ keep: true, /** base */ base: getBase(this, {p: properties}) }
JavaScript
/** * FusionCharts: Flash Player detection and Chart embed * * Morphed from SWFObject (http://blog.deconcept.com/swfobject/) under MIT License: * http://www.opensource.org/licenses/mit-license.php * */ if(typeof infosoftglobal == "undefined") var infosoftglobal = new Object(); if(typeof infosoftglobal.F...
JavaScript
/*! SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var swfobject = function() { var UNDEF = "undefined", OBJECT = "object", SHOCKWAVE_FLASH = "Shockwave Flash", SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlas...
JavaScript
BrowserHistoryUtils = { addEvent: function(elm, evType, fn, useCapture) { useCapture = useCapture || false; if (elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true; } else if (elm.attachEvent) { var r = elm.attachEvent...
JavaScript
/*! SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var swfobject = function() { var UNDEF = "undefined", OBJECT = "object", SHOCKWAVE_FLASH = "Shockwave Flash", SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlas...
JavaScript
BrowserHistoryUtils = { addEvent: function(elm, evType, fn, useCapture) { useCapture = useCapture || false; if (elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true; } else if (elm.attachEvent) { var r = elm.attachEvent...
JavaScript
var ui = { stage : null, scale: 1, zoomFactor : 1.1, origin : { x : 0, y : 0}, zoom : function(event) { event.preventDefault(); var evt = event.originalEvent, mx = evt.clientX - ui.stage.content.offsetLeft, my = evt.clientY - ui.stage.content.offsetTop, wheel = evt.wheelDelta / 120;//n or -n var ...
JavaScript
window.fakeStorage = { _data: {}, setItem: function (id, val) { return this._data[id] = String(val); }, getItem: function (id) { return this._data.hasOwnProperty(id) ? this._data[id] : undefined; }, removeItem: function (id) { return delete this._data[id]; }, clear: function () { ret...
JavaScript
// Wait till the browser is ready to render the game (avoids glitches) window.requestAnimationFrame(function () { new GameManager(4, KeyboardInputManager, HTMLActuator, LocalStorageManager); });
JavaScript
function KeyboardInputManager() { this.events = {}; if (window.navigator.msPointerEnabled) { //Internet Explorer 10 style this.eventTouchstart = "MSPointerDown"; this.eventTouchmove = "MSPointerMove"; this.eventTouchend = "MSPointerUp"; } else { this.eventTouchstart = "touchsta...
JavaScript
function Grid(size, previousState) { this.size = size; this.cells = previousState ? this.fromState(previousState) : this.empty(); } // Build a grid of the specified size Grid.prototype.empty = function () { var cells = []; for (var x = 0; x < this.size; x++) { var row = cells[x] = []; for (var y = 0;...
JavaScript
(function () { if (typeof window.Element === "undefined" || "classList" in document.documentElement) { return; } var prototype = Array.prototype, push = prototype.push, splice = prototype.splice, join = prototype.join; function DOMTokenList(el) { this.el = el; // The classN...
JavaScript
Function.prototype.bind = Function.prototype.bind || function (target) { var self = this; return function (args) { if (!(args instanceof Array)) { args = [args]; } self.apply(target, args); }; };
JavaScript
function GameManager(size, InputManager, Actuator, StorageManager) { this.size = size; // Size of the grid this.inputManager = new InputManager; this.storageManager = new StorageManager; this.actuator = new Actuator; this.startTiles = 2; this.inputManager.on("move", this.move.bind(th...
JavaScript
(function () { var lastTime = 0; var vendors = ['webkit', 'moz']; for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame']; window.cancelAnimationFrame = window[vendors[x] + 'CancelAnimationFrame'] || wind...
JavaScript
function HTMLActuator() { this.tileContainer = document.querySelector(".tile-container"); this.scoreContainer = document.querySelector(".score-container"); this.bestContainer = document.querySelector(".best-container"); this.messageContainer = document.querySelector(".game-message"); this.score = 0; ...
JavaScript
function Tile(position, value) { this.x = position.x; this.y = position.y; this.value = value || 2; this.previousPosition = null; this.mergedFrom = null; // Tracks tiles that merged together } Tile.prototype.savePosition = function () { this.previousPosition ...
JavaScript
/*! * FullCalendar v1.6.4 * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ /* * Use fullcalendar.css for basic styling. * For event drag & drop, requires jQuery UI draggable. * For event resizing, requires jQuery UI resizable. */ (function($, undefined) { ;; var defaults = { // ...
JavaScript
/*! * FullCalendar v1.6.4 Google Calendar Plugin * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ (function($) { var fc = $.fullCalendar; var formatDate = fc.formatDate; var parseISO8601 = fc.parseISO8601; var addDays = fc.addDays; var applyAll = fc.applyAll; fc.sourceNormalizers.push...
JavaScript
/*! * FullCalendar v1.6.4 * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ /* * Use fullcalendar.css for basic styling. * For event drag & drop, requires jQuery UI draggable. * For event resizing, requires jQuery UI resizable. */ (function($, undefined) { ;; var defaults = { // ...
JavaScript
/*! * FullCalendar v1.6.4 Google Calendar Plugin * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ (function($) { var fc = $.fullCalendar; var formatDate = fc.formatDate; var parseISO8601 = fc.parseISO8601; var addDays = fc.addDays; var applyAll = fc.applyAll; fc.sourceNormalizers.push...
JavaScript
/*! * FullCalendar v1.6.4 * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ /* * Use fullcalendar.css for basic styling. * For event drag & drop, requires jQuery UI draggable. * For event resizing, requires jQuery UI resizable. */ (function($, undefined) { ;; var defaults = { // ...
JavaScript
alert('plugin one nested js file');
JavaScript
alert('win sauce');
JavaScript
alert('I am a root level file!');
JavaScript
alert("Test App");
JavaScript
// nested theme js file
JavaScript
// root theme js file
JavaScript
document.write("扩展工具>网站广告管理>vod300");
JavaScript
document.write("扩展工具>网站广告管理>play300");
JavaScript
document.write("扩展工具>网站广告管理>index960");
JavaScript
document.write("扩展工具>网站广告管理>list300");
JavaScript
document.write("扩展工具>网站广告管理>play960");
JavaScript
document.write("扩展工具>网站广告管理>top960");
JavaScript
document.write("扩展工具>网站广告管理>vod960");
JavaScript
var JSON_URL = '../../php/file_manager_json.php'; var KE = parent.KindEditor; location.href.match(/\?id=([\w-]+)/i); var id = RegExp.$1; var fileManagerJson = (typeof KE.g[id].fileManagerJson == 'undefined') ? JSON_URL : KE.g[id].fileManagerJson; var lang = KE.lang.plugins.file_manager; KE.event.ready(function(...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2010 Longhao Luo * * @author Roddy <[email protected]> * @site http://www.kindsoft.net/ * @licence LGPL(http://www.opensource.org/licenses/lgpl-license.php) * @...
JavaScript
/* anythingSlider v1.2 By Chris Coyier: http://css-tricks.com with major improvements by Doug Neiner: http://pixelgraphics.us/ based on work by Remy Sharp: http://jqueryfordesigners.com/ To use the navigationFormatter function, you must have a function that accepts two paramaters, and ...
JavaScript
// cookie 代码 //取得cookie function getCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); //把cookie分割成组 for(var i=0;i < ca.length;i++) { var c = ca[i]; //取得字符串 while (c.charAt(0)==' ') { //判断一下字符串有没有前导空格 c = c.substring(1,c.length)...
JavaScript