code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/**
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
// This file contains style definitions that can be used by CKEditor plugins.
//
// The most common use for it is the "stylescombo" plugin, which shows a combo
... | JavaScript |
/*
* jQuery UI 1.7.1
*
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI
*/
;jQuery.ui || (function($) {
var _remove = $.fn.remove,
isFF2 = $.browser.mozilla && (parseFloat($.browser.... | JavaScript |
/*
* Style File - jQuery plugin for styling file input elements
*
* Copyright (c) 2007-2008 Mika Tuupola
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Based on work by Shaun Inman
* http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_an... | JavaScript |
/**
* @author trixta
*/
(function($){
$.userMode = (function(){
var userBg,
timer,
testDiv,
boundEvents = 0;
function testBg(){
testDiv = testDiv || $('<div></div>').css({position: 'absolute', left: '-999em', top: '-999px', width: '0px', height: '0px'}).appendTo('body');
var black = $.curCSS(... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.n... | JavaScript |
/*
* jQuery Tooltip plugin 1.2
*
* http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/
* http://docs.jquery.com/Plugins/Tooltip
*
* Copyright (c) 2006 - 2008 Jörn Zaefferer
*
* $Id: jquery.tooltip.js 4569 2008-01-31 19:36:35Z joern.zaefferer $
*
* Dual licensed under the MIT and GPL licenses:
* ht... | JavaScript |
/* Copyright (c) 2007 Paul Bakaus (paul.bakaus@googlemail.com) and Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* $LastChangedDate: 2007... | JavaScript |
/**
* @author trixta
*/
(function($){
$.bind = function(object, method){
var args = Array.prototype.slice.call(arguments, 2);
if(args.length){
return function() {
var args2 = [this].concat(args, $.makeArray( arguments ));
return method.apply(object, args2);
};
} else {
return function() {
var args2... | JavaScript |
/**
* Copyright (c) 2008 Kelvin Luck (http://www.kelvinluck.com/)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
* .
* $Id: jquery.datePicker.js 94 2010-01-25 02:25:27Z kelvin.luck $
**/
(functio... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.ne... | JavaScript |
/**
* @author alexander.farkas
* @version 1.3
*/
(function($){
$.widget('ui.checkBox', {
_init: function(){
var that = this,
opts = this.options,
toggleHover = function(e){
if(this.disabledStatus){
return false;
}
that.hover = (e.type == 'focus' || e.ty... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.n... | JavaScript |
/*
* Superfish v1.4.8 - jQuery menu widget
* Copyright (c) 2008 Joel Birch
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
*/
; (f... | JavaScript |
window.onresize = function () {
if ($(window).width() < 1347) {
$("#div_GoogleAds").css("position", "relative");
}
else {
$("#div_GoogleAds").css("position", "absolute");
}
};
//if (detectmob()) {
// document.location = "http://www.livekora.net/mobile/default.aspx";
//}... | JavaScript |
/**
* BxSlider v4.1.1 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Copyright 2013, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
* Written while drinking Belgian ales and listening to jazz
*
* Released under the MIT license - http://opensource.org/licenses/MIT
*/
... | JavaScript |
/*!
* Thumbnail helper for fancyBox
* version: 1.0.7 (Mon, 01 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* thumbs: {
* width : 50,
* height : 50
* }
* }
* });
*
*/
(fun... | JavaScript |
/*!
* Media helper for fancyBox
* version: 1.0.6 (Fri, 14 Jun 2013)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* media: true
* }
* });
*
* Set custom URL parameters:
* $(".fancybox").fancybox({
* helpers : {
* ... | JavaScript |
/*!
* Buttons helper for fancyBox
* version: 1.0.5 (Mon, 15 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* buttons: {
* position : 'top'
* }
* }
* });
*
*/
(function ($) {
//Shortcut for ... | JavaScript |
/** @license
* DHTML Snowstorm! JavaScript-based Snow for web pages
* --------------------------------------------------------
* Version 1.43.20111201 (Previous rev: 1.42.20111120)
* Copyright (c) 2007, Scott Schiller. All rights reserved.
* Code provided under the BSD License:
* http://schillmania.com/proj... | JavaScript |
function numbersonly(e) { var t = e.charCode ? e.charCode : e.keyCode; return 8 != t && (48 > t || t > 57) ? !1 : void 0 } function funSendEMail(e) { document.getElementById("div_Facebook").style.display = "none", document.getElementById("td_SendEmail").style.display = "none", "facebook" == e ? document.getElementById... | JavaScript |
/*!
* jQuery JavaScript Library v1.3.2
* http://jquery.com/
*
* Copyright (c) 2009 John Resig
* Dual licensed under the MIT and GPL licenses.
* http://docs.jquery.com/License
*
* Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
* Revision: 6246
*/
(function(){
var
// Will speed up references to window, a... | JavaScript |
//////////// Generic Ajax - starts /////////
/**
* The Simple ajax object and calling functions.
* The global XML request object is created by default.
*/
var ajaxHttpReq = getajaxHttpReqObject(); // global Request Object
function getajaxHttpReqObject()
{
if (window.XMLHttpRequest) //Mozilla / safari
retu... | JavaScript |
// script.aculo.us unittest.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// (c) 2005, 2006 Jon Tirsen (http://www.tirsen.com)
// (c) 2005, 2006 Michael Schuerig (http://www.schuerig.de/michael/)
//
// script.aculo.us ... | JavaScript |
/**
* Provides suggestions for state names (USA).
* @class
* @scope public
*/
function Pucsuggestions() {
this.Puc = [
"Alabama", "Alaska", "Arizona", "Arkansas",
"California", "Colorado", "Connecticut",
"Delaware", "Florida", "Georgia", "Hawaii",
"Idaho", "Illinois",... | JavaScript |
// script.aculo.us slider.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
// Copyright (c) 2005, 2006 Marty Haught, Thomas Fuchs
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/
if(!Control) var Control = {};
Cont... | JavaScript |
// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
| JavaScript |
// script.aculo.us scriptaculous.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"),... | JavaScript |
/**
* An autosuggest textbox control.
* @class
* @scope public
*/
function AutoSuggestControl(oTextbox /*:HTMLInputElement*/,
oProvider /*:SuggestionProvider*/) {
/**
* Suggestion provider for the autosuggest feature.
* @scope private.
*/
thi... | JavaScript |
function change_text(this_bad)
{
if (this_bad > 0)
{
document.getElementById('intensifier').style.fontSize = (6 + this_bad * 5) + 'px';
} else {
document.getElementById('intensifier').style.fontSize = '';
}
}
| JavaScript |
// script.aculo.us builder.js v1.7.0, Fri Jan 19 19:16:36 CET 2007
// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/
var... | JavaScript |
//
// Copyright (c) 2006 by Conor O'Mahony.
// For enquiries, please email GubuSoft@GubuSoft.com.
// Please keep all copyright notices below.
// Original author of TreeView script is Marcelino Martins.
//
// This document includes the TreeView script.
// The TreeView script can be found at http://www.TreeView.ne... | JavaScript |
//
// Copyright (c) 2006 by Conor O'Mahony.
// For enquiries, please email GubuSoft@GubuSoft.com.
// Please keep all copyright notices below.
// Original author of TreeView script is Marcelino Martins.
//
// This document includes the TreeView script.
// The TreeView script can be found at http://www.TreeView.ne... | JavaScript |
//
// Copyright (c) 2006 by Conor O'Mahony.
// For enquiries, please email GubuSoft@GubuSoft.com.
// Please keep all copyright notices below.
// Original author of TreeView script is Marcelino Martins.
//
// This document includes the TreeView script.
// The TreeView script can be found at http://www.TreeView.ne... | JavaScript |
//
// Copyright (c) 2006 by Conor O'Mahony.
// For enquiries, please email GubuSoft@GubuSoft.com.
// Please keep all copyright notices below.
// Original author of TreeView script is Marcelino Martins.
//
// This document includes the TreeView script.
// The TreeView script can be found at http://www.TreeView.ne... | JavaScript |
//
// Copyright (c) 2006 by Conor O'Mahony.
// For enquiries, please email GubuSoft@GubuSoft.com.
// Please keep all copyright notices below.
// Original author of TreeView script is Marcelino Martins.
//
// This document includes the TreeView script.
// The TreeView script can be found at http://www.TreeView.ne... | JavaScript |
//
// Copyright (c) 2006 by Conor O'Mahony.
// For enquiries, please email GubuSoft@GubuSoft.com.
// Please keep all copyright notices below.
// Original author of TreeView script is Marcelino Martins.
//
// This document includes the TreeView script.
// The TreeView script can be found at http://www.TreeView.ne... | JavaScript |
/*
* $Log: ua.js,v $
* Revision 1.9 2002/07/22 14:06:21 bc6ix
* fix license path, change version reporting to use 2 digits for each level
*
* Revision 1.8 2002/07/07 08:23:07 bc6ix
* fix line endings
*
* Revision 1.7 2002/05/14 16:52:52 bc6ix
* use CVS Log for revision history
*
*
*/
/*... | JavaScript |
//****************************************************************
// You must keep this copyright notice:
//
// This script is Copyright (c) 2006 by Conor O'Mahony.
// For inquiries, please email GubuSoft@GubuSoft.com.
// GubuSoft is owned and operated by Conor O'Mahony.
// Original author of TreeView script is... | JavaScript |
window.onload = function() {
myHeight = new fx.Height('nav', {duration: 400});
myHeight.hide();
} | JavaScript |
/*
moo.fx, simple effects library built with prototype.js (http://prototype.conio.net).
by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE.
for more info (http://moofx.mad4milk.net).
10/24/2005
v(1.0.2)
*/
//base
var fx = new Object();
fx.Base = function(){};
fx.Base.prototype = {
setOptions: function(option... | JavaScript |
function create_menu(basepath)
{
var base = (basepath == 'null') ? '' : basepath;
document.write(
'<table cellpadding="0" cellspaceing="0" border="0" style="width:98%"><tr>' +
'<td class="td" valign="top">' +
'<ul>' +
'<li><a href="'+base+'index.html">User Guide Home</a></li>' +
'<li><a href="'+base+'toc.... | JavaScript |
/// <reference path="jquery-1.6.2.js" />
/// <reference path="jquery.validate.js" />
$(
function funcPageLoad() {
// Cache for dialogs
var dialogs = {};
var getValidationSummaryErrors = function ($form) {
// We verify if we created it beforehand
var errorSummary = $form.data('va... | JavaScript |
function ChkDigitNewAccount(sValue) {
var tmpReturn;
tmpReturn = true;
if (sValue == "") {
return true;
}
//if (sValue.length != 14) {
// alert('เลขที่บัญชีควรเป็น 14 หลัก');
// return false;
//}
var SumStep1;
var Result;
var OString;
OSt... | JavaScript |
function notFill(obj, msg) {
if ($(obj).val() == "") {
alert(msg);
$(obj).focus();
return true;
}
return false;
}
function setVisibleField(objname, Action) {
//***** Control หลัก
var ctl = document.getElementById(objname);
if (ctl == null) {
ctl = d... | JavaScript |
jQuery(document).ready(function(){
var scripts = document.getElementsByTagName("script");
var jsFolder = "";
for (var i= 0; i< scripts.length; i++)
{
if( scripts[i].src && scripts[i].src.match(/initslider-1\.js/i))
jsFolder = scripts[i].src.substr(0, scripts[i].src.lastIndexOf(... | JavaScript |
window.onload = function() {
myHeight = new fx.Height('nav', {duration: 400});
myHeight.hide();
} | JavaScript |
/*
moo.fx, simple effects library built with prototype.js (http://prototype.conio.net).
by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE.
for more info (http://moofx.mad4milk.net).
10/24/2005
v(1.0.2)
*/
//base
var fx = new Object();
fx.Base = function(){};
fx.Base.prototype = {
setOptions: function(option... | JavaScript |
function create_menu(basepath)
{
var base = (basepath == 'null') ? '' : basepath;
document.write(
'<table cellpadding="0" cellspaceing="0" border="0" style="width:98%"><tr>' +
'<td class="td" valign="top">' +
'<ul>' +
'<li><a href="'+base+'index.html">User Guide Home</a></li>' +
'<li><a href="'+base+'toc.... | JavaScript |
/**
* @author trixta
*/
(function($){
$.bind = function(object, method){
var args = Array.prototype.slice.call(arguments, 2);
if(args.length){
return function() {
var args2 = [this].concat(args, $.makeArray( arguments ));
return method.apply(object, args2);
};
} else {
return function() {
var args2... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.n... | JavaScript |
/* Copyright (c) 2007 Paul Bakaus (paul.bakaus@googlemail.com) and Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* $LastChangedDate: 2007... | JavaScript |
/*
* jQuery Tooltip plugin 1.2
*
* http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/
* http://docs.jquery.com/Plugins/Tooltip
*
* Copyright (c) 2006 - 2008 Jörn Zaefferer
*
* $Id: jquery.tooltip.js 4569 2008-01-31 19:36:35Z joern.zaefferer $
*
* Dual licensed under the MIT and GPL licenses:
* ht... | JavaScript |
/*
* jQuery UI 1.7.1
*
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI
*/
;jQuery.ui || (function($) {
var _remove = $.fn.remove,
isFF2 = $.browser.mozilla && (parseFloat($.browser.... | JavaScript |
/**
* Copyright (c) 2008 Kelvin Luck (http://www.kelvinluck.com/)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
* .
* $Id: jquery.datePicker.js 94 2010-01-25 02:25:27Z kelvin.luck $
**/
(functio... | JavaScript |
/**
* @author trixta
*/
(function($){
$.userMode = (function(){
var userBg,
timer,
testDiv,
boundEvents = 0;
function testBg(){
testDiv = testDiv || $('<div></div>').css({position: 'absolute', left: '-999em', top: '-999px', width: '0px', height: '0px'}).appendTo('body');
var black = $.curCSS(... | JavaScript |
/*
* maskMoney plugin for jQuery
* http://plentz.github.com/jquery-maskmoney/
* version: 2.1.2
* Licensed under the MIT license
*/
;(function($) {
if(!$.browser){
$.browser = {};
$.browser.mozilla = /mozilla/.test(navigator.userAgent.toLowerCase()) && !/webkit/.test(navigator.userAgent.toLowerCase());
$.browser.... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.n... | JavaScript |
/*
* Style File - jQuery plugin for styling file input elements
*
* Copyright (c) 2007-2008 Mika Tuupola
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Based on work by Shaun Inman
* http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_an... | JavaScript |
/*
* jQuery selectbox plugin
*
* Copyright (c) 2007 Sadri Sahraoui (brainfault.com)
* Licensed under the GPL license and MIT:
* http://www.opensource.org/licenses/GPL-license.php
* http://www.opensource.org/licenses/mit-license.php
*
* The code is inspired from Autocomplete plugin (http://www.dyve.ne... | JavaScript |
/**
* @author alexander.farkas
* @version 1.3
*/
(function($){
$.widget('ui.checkBox', {
_init: function(){
var that = this,
opts = this.options,
toggleHover = function(e){
if(this.disabledStatus){
return false;
}
that.hover = (e.type == 'focus' || e.ty... | JavaScript |
/** jQuery md5()
* Encodes a string in MD5
* @author Gabriele Romanato <http://blog.gabrieleromanato.com>
* @requires jQuery 1.4+
* Usage $.md5(string)
*/
(function($) {
$.md5 = function (string) {
function RotateLeft(lValue, iShiftBits) {
return (lValue<<iShiftBits) | (lValue>>>(32-iShiftBi... | JavaScript |
/**
* Amazing Slider Version 1.6
* Copyright 2013 Magic Hills Pty Ltd
* http://amazingslider.com
*/
(function($) {
$.fn.html5lightbox = function(k) {
var l = this;
l.options = jQuery.extend({autoplay: true, html5player: true, overlaybgcolor: "#000000", overlayopacity: 0.9, bgcolor: "#f... | JavaScript |
jQuery(document).ready(function(){
var scripts = document.getElementsByTagName("script");
var jsFolder = "";
for (var i= 0; i< scripts.length; i++)
{
if( scripts[i].src && scripts[i].src.match(/initslider-1\.js/i))
jsFolder = scripts[i].src.substr(0, scripts[i].src.lastIndexOf(... | JavaScript |
// This file is part of Mongoose project, http://code.google.com/p/mongoose
var chat = {
// Backend URL, string.
// 'http://backend.address.com' or '' if backend is the same as frontend
backendUrl: '',
maxVisibleMessages: 10,
errorMessageFadeOutTimeoutMs: 2000,
errorMessageFadeOutTimer: null,
lastMessage... | JavaScript |
var addon = require('./build/Release/addon');
var obj = new addon.MDNSObject ();
obj.start ("some-random.local", "LGTV", "_airplay._tcp.local",
"192.168.1.3", "39999");
//obj.start ();
setTimeout (function() {
obj.stop ();
}, 5000);
//console.log ("TEST!!!!!!!!!!!!!!!!!!");
| JavaScript |
// SelBlocks name-space
var selblocks = { name: "SelBlocks" };
(function($$){
/* Starting with FF4 lots of objects are in an XPCNativeWrapper,
* and we need the underlying object for == and for..in operations.
*/
$$.unwrapObject = function(obj) {
if (typeof(obj) === "undefined" || obj == null)
... | JavaScript |
// selbocks name-space
(function($$){
/* LOG wrapper for SelBlocks-specific behavior
*/
function Logger()
{
this.error = function (msg) { this.logit("error", msg); };
this.warn = function (msg) { this.logit("warn", msg); };
this.info = function (msg) { this.logit("info", msg); };
t... | JavaScript |
// selbocks name-space
(function($$){
/* Function interception
*/
$$.fn = {};
//@TODO It looks like functions intercepted by the following can't have any parameters. -Peter Kehl
// execute the given function before each call of the specified function
$$.fn.interceptBefore = function(targetObj, targ... | JavaScript |
/** Provides richer functionality than is available via Selenium xpathEvaluator.
* Used only by locator-builders, because it assumes a Firefox environment.
*/
// selbocks name-space
(function($$){
$$.xp =
{
// Evaluate an xpathExpression against the given document object.
// The document is als... | JavaScript |
/* Copyright 2011 Chris Noe
* Copyright 2011, 2012, 2013, 2014 Peter Kehl
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 1.1. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/1.1/.
*/
/**
* SelBlocks Global = SelBlocks wit... | JavaScript |
// selbocks name-space
(function($$){
/* This function replaces native Selenium command handling while inside a try block.
*/
$$.handleAsTryBlock = function()
{
try {
selenium.browserbot.runScheduledPollers();
this._executeCurrentCommand();
this.continueTestWhenConditionIsTrue();... | JavaScript |
// selbocks name-space
(function($$){
/* This function replaces native Selenium command handling for the exitScript command.
* It alters command processing such that the script simply halts rather executing the next command.
*/
$$.handleAsExitTest = function()
{
try {
selenium.browserbot.r... | JavaScript |
/** Parse basic expressions.
*/
// selbocks name-space
(function($$){
$$.InfixExpressionParser =
{
_objname : "InfixExpressionParser"
,BRACKET_PAIRS : { "(": ")", "{": "}", "[": "]" }
,trimListValues : true
//- Parse a string into a list on the given delimiter character,
// respect... | JavaScript |
SeLiteExtensionSequencer.registerPlugin( {
pluginId: 'selblocks-global@selite.googlecode.com',
coreUrl: [
'chrome://selite-selblocks-global/content/extensions/name-space.js',
'chrome://selite-selblocks-global/content/extensions/logger.js',
'chrome://selite-selblocks-global/content/extensions/f... | JavaScript |
(function() { var a, goog = goog || {};
goog.global = this;
goog.DEBUG = true;
goog.LOCALE = "en";
goog.evalWorksForGlobals_ = null;
goog.provide = function(name) {
goog.exportPath_(name)
};
goog.exportPath_ = function(name, opt_object, opt_objectToExportTo) {
var parts = name.split("."), cur = opt_objectToExportTo... | JavaScript |
/*----------------------------------------------------------------------------*\
| bookmarks.js |
| |
| Copyright (c) 2009, Code A La Mode, original authors. |... | JavaScript |
/*----------------------------------------------------------------------------*\
| search.js |
| |
| Copyright (c) 2009, Code A La Mode, original authors. |... | JavaScript |
/*----------------------------------------------------------------------------*\
| init.js |
| |
| Copyright (c) 2009, Code A La Mode, original authors. |... | JavaScript |
var extjs_classes=["Ext.form.BasicForm",
"Ext.form.FormPanel",
"Ext.form.TextField",
"Ext.form.Checkbox",
"Ext.form.CheckboxGroup",
"Ext.form.ComboBox",
"Ext.form.CompositeField",
"Ext.form.DateField",
"Ext.form.DisplayField",
"Ext.form.Field",
"Ext.form.FieldSet",
"Ext.form.Hidden",
"Ext.formEditor",
"Ext.form.Label",... | JavaScript |
/** DRAW3 */
/**
* @param o HTMLElement Target Object
* @param cnt Object (Array | String) Elements to be inserted
* @param beforeOf HTMLElement
*/
function draw3(dest,content,beforeOf){
var d=draw3.create([content],dest);
for(var i=0,l=d.length;i<l;i++){
if(beforeOf) dest.insertBefore(d[i],beforeOf);
... | JavaScript |
function loadDefaultEditors(){
/* text default editor */
installEditor("default",zpad.create());
/* component default editor */
componentsIndex["component"].editor=
componentsIndex["bcomponent"].editor=
componentsIndex["def"].editor=function(node){
changeEditor("componentEditor");
return ... | JavaScript |
components=[
{"name":"root","attributes":[],"image":"images/16/root.gif"},
{"name":"definition","attributes":[{"name":"version","value":"1.0","domain":"string"}]},
{"name":"def","attributes":[{"name":"name","value":"newDefinition","domain":"string"}],"image":"images/16/default.gif"},
{"name":"function","attribu... | JavaScript |
/* ZEditor Global Variables */
var file,currentNode,dirBase,editorClass={};
function installEditor(id,div,edClass){
div.id=id;
div.style.display="none";
var d;
while(d=document.getElementById(id)) d.parentNode.removeChild(d);
document.getElementById("content").appendChild(div);
editorClass[id]=edClass;
}
functi... | JavaScript |
/*
* CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
*
* Copyright (C) 2007 Fernando M.A.d.S. <fermads@gmail.com>
*
* Contributors :
*
* Michael Hurni <michael.hurni@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it ... | JavaScript |
/*
* CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
*
* Copyright (C) 2007 Fernando M.A.d.S. <fermads@gmail.com>
*
* Developers:
* Fernando M.A.d.S. <fermads@gmail.com>
* Michael Hurni <michael.hurni@gmail.com>
* Contributors:
* Martin D. Kirk
*
... | JavaScript |
/*
* CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
*
* Copyright (C) 2007 Fernando M.A.d.S. <fermads@gmail.com>
*
* Developers:
* Fernando M.A.d.S. <fermads@gmail.com>
* Michael Hurni <michael.hurni@gmail.com>
* Contributors:
* Martin D. Kirk
*
... | JavaScript |
/*
* CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
*
* Copyright (C) 2006 Fernando M.A.d.S. <fermads@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as publish... | JavaScript |
/*
* CodePress regular expressions for C# syntax highlighting
* By Edwin de Jonge
*/
Language.syntax = [ // C#
{ input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
{ input : /\'(.?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
{ input : /\b(ab... | JavaScript |
/*
* CodePress regular expressions for PHP syntax highlighting
*/
// PHP
Language.syntax = [
{ input : /(<[^!\?]*?>)/g, output : '<b>$1</b>' }, // all tags
{ input : /(<style.*?>)(.*?)(<\/style>)/g, output : '<em>$1</em><em>$2</em><em>$3</em>' }, // style tags
{ input : /(<script.*?&g... | JavaScript |
/*
* CodePress regular expressions for Perl syntax highlighting
* By J. Nick Koston
*/
// Perl
Language.syntax = [
{ input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
{ input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
{ input ... | JavaScript |
/*
* CodePress regular expressions for ASP-vbscript syntax highlighting
*/
// ASP VBScript
Language.syntax = [
// all tags
{ input : /(<[^!%|!%@]*?>)/g, output : '<b>$1</b>' },
// style tags
{ input : /(<style.*?>)(.*?)(<\/style>)/g, output : '<em>$1</em><em>$2</em><em>$3</em>' },
//... | JavaScript |
/*
* CodePress regular expressions for Java syntax highlighting
*/
// Java
Language.syntax = [
{ input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>'}, // strings double quote
{ input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>'}, // strings single quote
{ input : /\b(abstract|continue|for... | JavaScript |
/*
* CodePress regular expressions for ASP-vbscript syntax highlighting
*/
// ASP VBScript
Language.syntax = [
// all tags
{ input : /(<[^!%|!%@]*?>)/g, output : '<b>$1</b>' },
// style tags
{ input : /(<style.*?>)(.*?)(<\/style>)/g, output : '<em>$1</em><em>$2</em><em>$3</em>' },
//... | JavaScript |
/*
* CodePress regular expressions for PHP syntax highlighting
*/
// PHPCODE
Language.syntax = [
{ input : /(<style.*?>)(.*?)(<\/style>)/g, output : '<em>$1</em><em>$2</em><em>$3</em>' }, // style tags
{ input : /(<script.*?>)(.*?)(<\/script>)/g, output : '<ins>$1</ins><ins>$2</ins><... | JavaScript |
/*
* CodePress regular expressions for XSL syntax highlighting
* By RJ Bruneel
*/
Language.syntax = [ // XSL
{
input : /(<[^!]*?>)/g,
output : '<b>$1</b>' // all tags
},{
input : /=(".*?")/g,
output : '=<s>$1</s>' // atributes double quote
},{
input : /=('.*?')/g,
output : '=<s>$1</s>' ... | JavaScript |
/*
* CodePress regular expressions for Text syntax highlighting
*/
// plain text
Language.syntax = []
Language.snippets = []
Language.complete = []
Language.shortcuts = []
| JavaScript |
/*
* CodePress regular expressions for HTML syntax highlighting
*/
// HTML
Language.syntax = [
{ input : /(<[^!]*?>)/g, output : '<b>$1</b>' }, // all tags
{ input : /(<a .*?>|<\/a>)/g, output : '<a>$1</a>' }, // links
{ input : /(<img .*?>)/g, output : '<big>$1</big>' }, // images... | JavaScript |
/*
* CodePress regular expressions for SQL syntax highlighting
* By Merlin Moncure
*/
// SQL
Language.syntax = [
{ input : /\'(.*?)(\')/g, output : '<s>\'$1$2</s>' }, // strings single quote
{ input : /\b(add|after|aggregate|alias|all|and|as|authorization|between|by|cascade|cache|cache|called|case|check|... | JavaScript |
/*
* CodePress regular expressions for XSL syntax highlighting
* By RJ Bruneel
*/
Language.syntax = [ // XSL
{
input : /(<[^!]*?>)/g,
output : '<b>$1</b>' // all tags
},{
input : /(<a.*?>|<\/a>)/g,
output : '<a>$1</a>' // links
},{
input : /(<img .*?>)/g,
output : '<bi... | JavaScript |
/*
* CodePress regular expressions for CSS syntax highlighting
*/
// CSS
Language.syntax = [
{ input : /(.*?){(.*?)}/g,output : '<b>$1</b>{<u>$2</u>}' }, // tags, ids, classes, values
{ input : /([\w-]*?):([^\/])/g,output : '<a>$1</a>:$2' }, // keys
{ input : /\((.*?)\)/g,output : '(<s>$1</s>)' }, // para... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.