code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
var FCKDragTableHandler =
{
"_DragState" : 0,
"_LeftCell" : null,
"_RightCell" : null,
"_MouseMoveMode" : 0, // 0 - find candidate cells for resizing, 1 - drag to resize
"_ResizeBar" : null,
"_OriginalX" : null,
"_MinimumX" : null,
"_MaximumX" : null,
"_LastX" : null,
"_TableMap" : null,
"_doc" ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/l... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www... | JavaScript |
FCKLang.DrupalPageBreakTooltip = 'Wstaw znacznik nowej strony' ;
FCKLang.DrupalPageBreakTitle = 'Strona' ;
| JavaScript |
FCKLang.DrupalPageBreakTooltip = 'Вставить разрыв страницы' ;
FCKLang.DrupalPageBreakTitle = 'Страница' ;
| JavaScript |
FCKLang.DrupalPageBreakTooltip = 'Insert Page Break' ;
FCKLang.DrupalPageBreakTitle = 'Page' ;
| JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/l... | JavaScript |
FCKLang.DlgDrupalChooseCategory = 'Wybierz kategorię' ;
FCKLang.DlgBrowseDocs = 'przeglądaj dokumenty' ;
FCKLang.DlgDrupalPath = 'ścieżka' ;
FCKLang.DlgDrupalInternal = 'link wewn.' ;
FCKLang.DlgNodeTitle = 'Tytuł' ;
FCKLang.DlgNodeCreated = 'Utworzony' ;
FCKLang.DlgNodeAuthor = 'Autor' ;
FCKLang.DlgLinkToNo... | JavaScript |
FCKLang.DlgDrupalChooseCategory = 'Choose Category' ;
FCKLang.DlgBrowseDocs = 'browse documents' ;
FCKLang.DlgDrupalPath = 'path' ;
FCKLang.DlgDrupalInternal = 'internal' ;
FCKLang.DlgNodeTitle = 'Node title' ;
FCKLang.DlgNodeCreated = 'Created' ;
FCKLang.DlgNodeAuthor = 'Author' ;
FCKLang.DlgLinkToNode = ... | JavaScript |
function preinit() {
// Initialize
tinyMCE.setWindowArg('mce_windowresize', false);
}
function init() {
window.focus();
loadCategories(null);
}
/**
* loadCategories()
* @param obj parent Object
**/
function loadCategories(obj) {
var params = '';
var vid = '-1';
var top = 75;
var objTop;
if (obj ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... | JavaScript |
if ( !FCKConfig.LinkDlgHideTarget )
window.parent.SetTabVisibility( 'Target', true ) ;
// Overwrite linktocontent function
//<!-- linktonode START -->
function selectRow(row) {
if (!row) {
return;
}
$('#nodelist tbody tr').each(function() {
$(this).css({background: '#ffffff'});
selectedNode = null;
});
sel... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www... | JavaScript |
FCKLang.DrupalBreakTooltip = 'Wstaw znacznik oznaczający koniec skrótu' ;
FCKLang.DrupalBreakTitle = 'Skrót' ;
| JavaScript |
FCKLang.DrupalBreakTooltip = 'Вставить разделитель анонса и основного текста' ;
FCKLang.DrupalBreakTitle = 'Анонс' ;
| JavaScript |
FCKLang.DrupalBreakTooltip = 'Insert Teaser Break' ;
FCKLang.DrupalBreakTitle = 'Teaser' ;
| JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/l... | JavaScript |
FCKLang.DlgBrowse = 'Przeglądaj' ;
FCKLang.DlgLoading = 'Ładowanie...' ;
FCKLang.DlgLinkToMenu = 'Link do menu' ;
FCKLang.DlgTitle = 'Tytuł' ;
FCKLang.DlgChooseCategory = 'Wybierz' ; | JavaScript |
FCKLang.DlgBrowse = 'Browse' ;
FCKLang.DlgLoading = 'Loading...' ;
FCKLang.DlgLinkToMenu = 'Link to menu' ;
FCKLang.DlgTitle = 'Title' ;
FCKLang.DlgChooseCategory = 'Choose' ;
| JavaScript |
function preinit() {
// Initialize
tinyMCE.setWindowArg('mce_windowresize', false);
}
function init() {
window.focus();
loadCategories(null);
}
/**
* loadCategories()
* @param obj parent Object
**/
function loadCategories(obj) {
var params = '';
var mid = '0';
var top = 75;
var objTop;
if (obj != ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... | JavaScript |
if ( !FCKConfig.LinkDlgHideTarget )
window.parent.SetTabVisibility( 'Target', true ) ;
// Overwrite linktocontent function
//<!-- linktonode START -->
function selectRow(row) {
if (!row) {
return;
}
$('#nodelist tbody tr').each(function() {
$(this).css({background: '#ffffff'});
selectedNode = null;
});
sel... | JavaScript |
/*
WARNING: clear browser's cache after you modify this file.
If you don't do this, you may notice that browser is ignoring all your changes.
*/
/*
Define as many toolbars as you need, you can change toolbar names
DrupalBasic will be forced on some smaller textareas (if enabled)
if you change the name of DrupalB... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* ... | JavaScript |
// map of instancename -> FCKeditor object
var fckInstances = {};
var fckActiveId = false;
// this object will store teaser information
var fckTeaser = { lookup : {}, lookupSetup : false, cache : {} };
/**
* Drupal behavior that adds FCKeditors to textareas
*/
Drupal.behaviors.fckeditor = function(context) {
// ma... | 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 |
/*!
* liScroll 1.0
* Examples and documentation at:
* http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html
* 2007-2009 Gian Carlo Mingati
* Version: 1.0.1 (07-DECEMBER-2009)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-lic... | JavaScript |
// tipsy, facebook style tooltips for jquery
// version 1.0.0a
// (c) 2008-2010 jason frame [jason@onehackoranother.com]
// released under the MIT license
(function($) {
$.fn.tipsy = function(options) {
options = $.extend({}, $.fn.tipsy.defaults, options);
return this.each(function() {
... | JavaScript |
(function($) {
$.fn.tweet = function(o){
var s = $.extend({
username: null, // [string or array] required unless using the 'query' option; one or more twitter screen names
list: null, // [string] optional name of list belonging to username
... | JavaScript |
(function( $, undefined ) {
/*
* HoverDir object.
*/
$.HoverDir = function( options, element ) {
this.$el = $( element );
this._init( options );
};
$.HoverDir.defaults = {
hoverDelay : 0,
reverse : false
};
$.HoverDir.prototype = {
_init : function( options ) {
this.... | JavaScript |
/*!
* jQuery Cookie Plugin v1.3
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2011, Klaus Hartl
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org/licenses/GPL-2.0
*/
(function ($, document, undefined) {
var plu... | JavaScript |
/*
* jQuery FlexSlider v2.1
* http://www.woothemes.com/flexslider/
*
* Copyright 2012 WooThemes
* Free to use under the GPLv2 license.
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Contributing author: Tyler Smith (@mbmufffin)
*/
;(function ($) {
//FlexSlider: Object Instance
$.flexslider = function(el,... | JavaScript |
$(document).ready(function(){
// table sort example
// ==================
$("#sortTableExample").tablesorter( { sortList: [[ 1, 0 ]] } )
// add on logic
// ============
$('.add-on :checkbox').click(function () {
if ($(this).attr('checked')) {
$(this).parents('.add-on').addClass('active')
... | JavaScript |
/**
* @author suthen
*/
jQuery.noConflict();
jQuery(document).ready(
function()
{
jQuery.each(jQuery(".adjudicator_selector"), function()
{
var parts = jQuery(this).attr('id').split('_');
var suffix = parts[1] + '_' + parts[2];
var selected_adjudicator_value = jQuery(this).val();
... | JavaScript |
jQuery.noConflict();
jQuery(document).ready(
function() {
jQuery("#go_button").click(
function(e)
{
window.location.href = jQuery("#thing_to_do").val();
}
);
}
); | JavaScript |
/**
* @author suthen
*/
jQuery.noConflict();
jQuery(document).ready(
function()
{
jQuery.each(jQuery(".adjudicator_selector"), function()
{
var parts = jQuery(this).attr('id').split('_');
var suffix = parts[1] + '_' + parts[2];
var selected_adjudicator_value = jQuery(this).val();
... | JavaScript |
/**
* @author suthen
*/
jQuery.noConflict();
function getVotes()
{
var affirmativeTeamVoters = [];
var negativeTeamVoters = [];
jQuery(".adjudicator_votes").each(
function(index, domElement)
{
var adjudicatorVoteSelector = jQuery(this);
var parts = adjudicator... | JavaScript |
if (!("console" in window) || !("firebug" in console)) {
(function()
{
window.console =
{
log: function()
{
logFormatted(arguments, "");
},
debug: function()
{
logFormatted(arguments, "debug");
},
info: function(... | JavaScript |
if (!("console" in window) || !("firebug" in console))
{
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
window.console = {};
for (var i = 0; i < names.length; ++i)
window.conso... | JavaScript |
(function($) {
$.extend({
tablesorterPager: new function() {
function updatePageDisplay(c) {
var s = $(c.cssPageDisplay,c.container).val((c.page+1) + c.seperator + c.totalPages);
}
function setPageSize(table,size) {
var c = table.config;
c.size = size;
c.totalPages = Math... | JavaScript |
/*
*
* TableSorter 2.0 - Client-side table sorting with ease!
* Version 2.0.3
* @requires jQuery v1.2.3
*
* Copyright (c) 2007 Christian Bach
* Examples and docs at: http://tablesorter.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.o... | JavaScript |
$(function() {
// get javascript source
$("#javascript pre").text($("#js").html());
if($("#demo").size() > 0) {
// old school chaining...
var html = $("#demo").html()
.toLowerCase()
.replace(/\n|\t|\r/g,'')
.replace(/<td/g,'\t\t\t<td')
.replace(/<\/td>/g,'</td>\n')
.replace(/<t... | JavaScript |
/* Stop IE flicker */
if ($.browser.msie == true) document.execCommand('BackgroundImageCache', false, true);
ChiliBook.recipeFolder = "js/chili/";
ChiliBook.stylesheetFolder = "js/chili/"
jQuery.fn.antispam = function() {
return this.each(function(){
var email = $(this).text().toLowerCase().replace(/\sdo... | JavaScript |
/*
===============================================================================
Chili is the jQuery code highlighter plugin
...............................................................................
Copyright 2007 / Andrea Ercolino
---------------------------------... | JavaScript |
/*
===============================================================================
Chili is the jQuery code highlighter plugin
...............................................................................
Copyright 2007 / Andrea Ercolino
----------------------------... | JavaScript |
/*
===============================================================================
Chili is the jQuery code highlighter plugin
...............................................................................
Copyright 2007 / Andrea Ercolino
--------------------------... | JavaScript |
/*
===============================================================================
Chili is the jQuery code highlighter plugin
...............................................................................
Copyright 2007 / Andrea Ercolino
----------------------------... | JavaScript |
/*
===============================================================================
Chili is the jQuery code highlighter plugin
...............................................................................
Copyright 2007 / Andrea Ercolino
----------------------------... | JavaScript |
/*
===============================================================================
Chili is the jQuery code highlighter plugin
...............................................................................
Copyright 2007 / Andrea Ercolino
----------------------------... | JavaScript |
/*
===============================================================================
Chili is the jQuery code highlighter plugin
...............................................................................
Copyright 2007 / Andrea Ercolino
---------------------------------... | JavaScript |
/*
* Metadata - jQuery plugin for parsing metadata from elements
*
* Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id$
... | JavaScript |
jQuery(document).ready(function () {
jQuery("table tr:odd").addClass("striped");
jQuery("")
});
| JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera... | JavaScript |
$(function() {
fffCommerce.api.Products.browse = function(searchText,callback){
var listProducts = [];
var newProduct = {
uid:1,
name:"Product A(" + searchText + ")" ,
shortName:"Prod B",
price:20.0,
description:"best product A available",
thumbnail:"http://duckduckgo.com/... | JavaScript |
Cart = function() {
this.data = [];
this.total = 0;
};
Cart.prototype = {
displayProd:function(price, product_id, short_name, qty) {
var elem = $('<div id="elem_' + product_id + '" class="element"><div class="el_name">' + short_name + '</div><div id="price_' + product_id + '" class="el_price">' + price + '... | JavaScript |
/*
@author Skitsanos
*/
var fffCommerce = {
ui: {
indicator: '<img src="images/ajax-loader.gif" alt="Loading..."/>'
},
models:{
Category: function() {
this.uid = null;
this.parentUid = null;
this.name = null;
},
Product: function() {
this.uid = null;
this.name = null;
this... | JavaScript |
$(
function(){
fffCommerce.api.Products.getItem = function(productId,callback){
var newProduct = {
uid:productId,
name:'Product A("test")' ,
shortName:"Prod A",
price:10.0,
description:"Suspendisse sollicitudin, dui nec elementum pharetra, nunc nibh tempor ante, a dap... | JavaScript |
(function() {
var global = ( function(){ return this; } )();
global.fffCommerce = global.fffCommerce || {};
global.fffCommerce.events = global.fffCommerce.events||{};
global.fffCommerce.events.SHOW_LIST=global.fffCommerce.events.SHOW_LIST||'3fCommerce_ShowList';
... | JavaScript |
/*!
* jQuery UI 1.8rc2
*
* Copyright (c) 2010 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 isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
//He... | JavaScript |
/*
http://www.JSON.org/json2.js
2009-09-29
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE... | JavaScript |
/**
* jqCommons
* @author Skitsanos
* @version 1.0.11252009
*/
(function() {
var initializing = false, fnTest = /xyz/.test(function() {
xyz;
}) ? /\b_super\b/ : /.*/;
// The base Class implementation (does nothing)
this.Class = function() {
};
// Create a new Class that inherits from this cl... | JavaScript |
module('ffCommerce.Details');
test("first test within module", function() {
var myObj = new fffCommerce.Details();
ok(myObj,"details class exists");
});
| JavaScript |
module( "List test" );
test('T1 Function: get', function(){
ok( "spoon"!=="there", "The spoon is not there" );
});
test('Data listing 2 items',function() {
var list = [
{
shortName: "Product 1",
longName: "Long... | JavaScript |
/*
* QUnit - A JavaScript Unit Testing Framework
*
* http://docs.jquery.com/QUnit
*
* Copyright (c) 2009 John Resig, Jörn Zaefferer
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*/
(function(window) {
var QUnit = {
// Initialize the configuration options
init: funct... | JavaScript |
$(function() {
$('<input type="text" id="query"/> <button id="btnSearch" type="button">Search</button><span id="indicatorSearch"></span>').appendTo('#search');
$('#btnSearch').click(function() {
$('#indicatorSearch').html(fffCommerce.ui.indicator + ' Loading, please wait...');
$('#list').empty();
ff... | JavaScript |
Cart = function() {
this.data = [];
this.total = 0;
};
Cart.prototype = {
displayProd:function(price, product_id, short_name, qty) {
var elem = $('<div id="elem_' + product_id + '" class="element"><div class="el_name">' + short_name + '</div><div id="price_' + product_id + '" class="el_price">' + price + '... | JavaScript |
/*
@author Skitsanos
*/
var fffCommerce = {
ui: {
indicator: '<img src="images/ajax-loader.gif" alt="Loading..."/>'
},
models:{
Category: function() {
this.uid = null;
this.parentUid = null;
this.name = null;
},
Product: function() {
this.uid = null;
this.name = null;
this... | JavaScript |
$(
function(){
$("body").bind(fffCommerce.events.SHOW_DETAILS,function(event,productId){
new fffCommerce.Details().displayDetails(productId);
});
//alert(typeof myCart);
}
);
fffCommerce = fffCommerce || {};
fffCommerce.Details = function(){};
fffCommerce.Details.prototype = {
... | JavaScript |
(function() {
var global = ( function(){ return this; } )();
global.fffCommerce = global.fffCommerce || {};
global.fffCommerce.events = global.fffCommerce.events||{};
global.fffCommerce.events.SHOW_LIST=global.fffCommerce.events.SHOW_LIST||'3fCommerce_ShowList';
... | JavaScript |
/*!
* jQuery UI 1.8rc2
*
* Copyright (c) 2010 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 isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
//He... | JavaScript |
/*
http://www.JSON.org/json2.js
2009-09-29
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE... | JavaScript |
/**
* jqCommons
* @author Skitsanos
* @version 1.0.11252009
*/
(function() {
var initializing = false, fnTest = /xyz/.test(function() {
xyz;
}) ? /\b_super\b/ : /.*/;
// The base Class implementation (does nothing)
this.Class = function() {
};
// Create a new Class that inherits from this cl... | JavaScript |
module('ffCommerce.Details');
test("first test within module", function() {
var myObj = new fffCommerce.Details();
ok(myObj,"details class exists");
});
| JavaScript |
module( "List test" );
test('T1 Function: get', function(){
ok( "spoon"!=="there", "The spoon is not there" );
});
test('Data listing 2 items',function() {
var list = [
{
shortName: "Product 1",
longName: "Long... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.