code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | JavaScript |
// Copyright 2013 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | JavaScript |
// Copyright 2013 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | JavaScript |
// Copyright 2013 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | JavaScript |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | JavaScript |
Wami = function() {
}
Wami.utils = function() {
}
Wami.utils.debug = function(message) {
if (typeof console == 'undefined') {
// No Firebug console, so no logging.
}
else {
console.log(message);
}
}
Wami.utils.gup = function(name) {
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp(regexS);... | JavaScript |
/////////////////////////////////////////////////////////////////
//// Public WamiApp API ////
/////////////////////////////////////////////////////////////////
// Create a new Wami.App object. Note, you should never create more than one
// Wami.App object on your page.
//
// ... | JavaScript |
/*
* jQuery Pines Notify (pnotify) Plugin 1.2.0
*
* http://pinesframework.org/pnotify/
* Copyright (c) 2009-2012 Hunter Perrin
*
* Triple license under the GPL, LGPL, and MPL:
* http://www.gnu.org/licenses/gpl.html
* http://www.gnu.org/licenses/lgpl.html
* http://www.mozilla.org/MPL/MPL-1.1.html
*/
(fu... | JavaScript |
$("document").ready(function() {
$("#companyLogo").attr({
"src" : ("http://www.gravatar.com/avatar/"
+ CryptoJS.MD5($("#companyLogo").attr("alt"))
.toString() + "?s=100&d="+escape("http://www.herasaf.org/uploads/images/team/No_Picture.gif"))
});
$("#user-picture").attr({
"src" : ("http://www.gr... | JavaScript |
/*
* jQuery Pines Notify (pnotify) Plugin 1.2.0
*
* http://pinesframework.org/pnotify/
* Copyright (c) 2009-2012 Hunter Perrin
*
* Triple license under the GPL, LGPL, and MPL:
* http://www.gnu.org/licenses/gpl.html
* http://www.gnu.org/licenses/lgpl.html
* http://www.mozilla.org/MPL/MPL-1.1.html
*/
(fu... | JavaScript |
1 | JavaScript |
var MUB = {
_uid : 0
,_minRoot : '/min/?'
,checkRewrite : function () {
var testUri = location.pathname.replace(/\/[^\/]*$/, '/rewriteTest.js').substr(1);
function fail() {
$('#minRewriteFailed')[0].className = 'topNote';
};
$.ajax({
url : '../f=' + te... | JavaScript |
javascript:(function() {
var d = document
,uris = []
,i = 0
,o
,home = (location + '').split('/').splice(0, 3).join('/') + '/';
function add(uri) {
return (0 === uri.indexOf(home))
&& (!/[\?&]/.test(uri))
&& uris.push(escape(uri.substr(home.length)));
... | JavaScript |
/*
# ------------------------------------------------------------------------
# ZTTools plugin for Joomla 1.6
# ------------------------------------------------------------------------
# Copyright(C) 2008-2011 www.zootemplate.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
... | JavaScript |
window.addEvent('load', function(){
if($('module-status')!=null){
$('module-status').setStyle('background', 'none');
var request = {'a':'hong'};
var span = new Element('span', {'class':'ztools-clearcache', 'style':'background: url(../plugins/system/plg_ztools/plg_ztools/4backend/menu/element/assets/images/zt... | JavaScript |
/*
Author:
luistar15, <leo020588 [at] gmail.com>
License:
MIT License
Class
noobSlide (rev.03-11-10)
Arguments:
Parameters - see Parameters below
Parameters:
box: dom element | required
items: dom collection | required
size: int | item size (px) | default: 240
mode: string | 'horizontal', 'vertical' | defau... | JavaScript |
/**
* @package ZT Headline module for Joomla! 1.6
* @author http://www.zootemplate.com
* @copyright (C) 2011- ZooTemplate.Com
* @license PHP files are GNU/GPL
**/
var ZTVerHeadLine = new Class({
options:{
duration: 2000,
transition: Fx.Transitions.Quart.easeInOut
},
initialize... | JavaScript |
/*
This file is part of JonDesign's SmoothGallery v2.0.
JonDesign's SmoothGallery is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later... | JavaScript |
//** Featured Content Slider script- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com.
//** May 2nd, 08'- Script rewritten and updated to 2.0.
//** June 12th, 08'- Script updated to v 2.3, which adds the following features:
//1) Changed behavior of script to actually collapse the previous content wh... | JavaScript |
//** Featured Content Slider script- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com.
//** May 2nd, 08'- Script rewritten and updated to 2.0.
//** June 12th, 08'- Script updated to v 2.3, which adds the following features:
//1) Changed behavior of script to actually collapse the previous content wh... | JavaScript |
/**
* @package ZT Headline module for Joomla! 1.6
* @author http://www.zootemplate.com
* @copyright (C) 2011- ZooTemplate.Com
* @license PHP files are GNU/GPL
**/
var ZTSlideShow7 = new Class({
options:{
delay:3000
},
initialize:function(options){
this.setOptions(options);
this.container = $(this.options.c... | JavaScript |
/*
Author:
luistar15, <leo020588 [at] gmail.com>
License:
MIT License
Class
noobSlide (rev.03-11-10)
Arguments:
Parameters - see Parameters below
Parameters:
box: dom element | required
items: dom collection | required
size: int | item size (px) | default: 240
mode: string | 'horizontal', 'vertical' | defau... | JavaScript |
/**
* @package ZT Headline module for Joomla! 1.6
* @author http://www.zootemplate.com
* @copyright (C) 2011- ZooTemplate.Com
* @license PHP files are GNU/GPL
**/
var ZTSlideShow5 = new Class({
Implements: [Events, Options],
options:{},
initialize:function(options){
this.setOptions(options);
this.jvSlide... | JavaScript |
/**
* @package ZT Headline module for Joomla! 1.6
* @author http://www.zootemplate.com
* @copyright (C) 2011- ZooTemplate.Com
* @license PHP files are GNU/GPL
**/
var ZTSlideShow8 = new Class({
options:{},
initialize:function(options){
this.setOptions(options);
this.jvSlide8Bg = $$(this.options.jvSlide8Bg... | JavaScript |
/**
* @package ZT Headline module for Joomla! 1.6
* @author http://www.zootemplate.com
* @copyright (C) 2011- ZooTemplate.Com
* @license PHP files are GNU/GPL
**/
if( typeof(ZTSlideEoty) == 'undefined' ){
var ZTSlideEoty = new Class({
Implements: [Events, Options],
options:{
duration: 2000,
effect:'s... | JavaScript |
/**
* @package ZT Headline module for Joomla! 1.6
* @author http://www.zootemplate.com
* @copyright (C) 2011- ZooTemplate.Com
* @license PHP files are GNU/GPL
**/
var ZTSlideShow6 = new Class({
Implements: [Events, Options],
options:{
delay:3000
},
initialize:function(options){
this.setOptions(options);
... | JavaScript |
/**
* @package ZT Headline module for Joomla! 1.6
* @author http://www.zootemplate.com
* @copyright (C) 2011- ZooTemplate.Com
* @license PHP files are GNU/GPL
**/
var ZTSlideBoro = new Class({
options:{
imageShadowStrength:0.5, //how dark should that shadow be, recommended values: between 0.3 and 0.8, allowed be... | JavaScript |
/* Tokenizer for JavaScript code */
var tokenizeJavaScript = (function() {
// Advance the stream until the given character (not preceded by a
// backslash) is encountered, or the end of the line is reached.
function nextUntilUnescaped(source, end) {
var escaped = false;
while (!source.endOfLine()) {
... | JavaScript |
var SparqlParser = Editor.Parser = (function() {
function wordRegexp(words) {
return new RegExp("^(?:" + words.join("|") + ")$", "i");
}
var ops = wordRegexp(["str", "lang", "langmatches", "datatype", "bound", "sameterm", "isiri", "isuri",
"isblank", "isliteral", "union", "a"]);
var ... | JavaScript |
// Minimal framing needed to use CodeMirror-style parsers to highlight
// code. Load this along with tokenize.js, stringstream.js, and your
// parser. Then call highlightText, passing a string as the first
// argument, and as the second argument either a callback function
// that will be called with an array of SPAN no... | JavaScript |
/* The Editor object manages the content of the editable frame. It
* catches events, colours nodes, and indents lines. This file also
* holds some functions for transforming arbitrary DOM structures into
* plain sequences of <span> and <br> elements
*/
var internetExplorer = document.selection && window.ActiveXObj... | JavaScript |
/* This file defines an XML parser, with a few kludges to make it
* useable for HTML. autoSelfClosers defines a set of tag names that
* are expected to not have a closing tag, and doNotIndent specifies
* the tags inside of which no indentation should happen (see Config
* object). These can be disabled by passing th... | JavaScript |
/* String streams are the things fed to parsers (which can feed them
* to a tokenizer if they want). They provide peek and next methods
* for looking at the current character (next 'consumes' this
* character, peek does not), and a get method for retrieving all the
* text that was consumed since the last time get w... | JavaScript |
/* CodeMirror main module (http://codemirror.net/)
*
* Implements the CodeMirror constructor and prototype, which take care
* of initializing the editor frame, and providing the outside interface.
*/
// The CodeMirrorConfig object is used to specify a default
// configuration. If you specify such an object before ... | JavaScript |
/* Parse function for JavaScript. Makes use of the tokenizer from
* tokenizejavascript.js. Note that your parsers do not have to be
* this complicated -- if you don't want to recognize local variables,
* in many languages it is enough to just look for braces, semicolons,
* parentheses, etc, and know when you are in... | JavaScript |
/**
* Storage and control for undo information within a CodeMirror
* editor. 'Why on earth is such a complicated mess required for
* that?', I hear you ask. The goal, in implementing this, was to make
* the complexity of storing and reverting undo information depend
* only on the size of the edited or restored con... | JavaScript |
var DummyParser = Editor.Parser = (function() {
function tokenizeDummy(source) {
while (!source.endOfLine()) source.next();
return "text";
}
function parseDummy(source) {
function indentTo(n) {return function() {return n;}}
source = tokenizer(source, tokenizeDummy);
var space = 0;
var ite... | JavaScript |
/* A few useful utility functions. */
// Capture a method on an object.
function method(obj, name) {
return function() {obj[name].apply(obj, arguments);};
}
// The value used to signal the end of a sequence in iterators.
var StopIteration = {toString: function() {return "StopIteration"}};
// Apply a function to ea... | JavaScript |
/* Functionality for finding, storing, and restoring selections
*
* This does not provide a generic API, just the minimal functionality
* required by the CodeMirror system.
*/
// Namespace object.
var select = {};
(function() {
select.ie_selection = document.selection && document.selection.createRangeCollection... | JavaScript |
/* Simple parser for CSS */
var CSSParser = Editor.Parser = (function() {
var tokenizeCSS = (function() {
function normal(source, setState) {
var ch = source.next();
if (ch == "@") {
source.nextWhileMatches(/\w/);
return "css-at";
}
else if (ch == "/" && source.equals("*")... | JavaScript |
// A framework for simple tokenizers. Takes care of newlines and
// white-space, and of getting the text from the source stream into
// the token object. A state is a function of two arguments -- a
// string stream and a setState function. The second can be used to
// change the tokenizer's state, and can be ignored fo... | JavaScript |
var HTMLMixedParser = Editor.Parser = (function() {
// tags that trigger seperate parsers
var triggers = {
"script": "JSParser",
"style": "CSSParser"
};
function checkDependencies() {
var parsers = ['XMLParser'];
for (var p in triggers) parsers.push(triggers[p]);
for (var i in parsers) {
... | JavaScript |
/* Demonstration of embedding CodeMirror in a bigger application. The
* interface defined here is a mess of prompts and confirms, and
* should probably not be used in a real project.
*/
function MirrorFrame(place, options) {
this.home = document.createElement("div");
if (place.appendChild)
place.appendChild... | JavaScript |
/* The Editor object manages the content of the editable frame. It
* catches events, colours nodes, and indents lines. This file also
* holds some functions for transforming arbitrary DOM structures into
* plain sequences of <span> and <br> elements
*/
var internetExplorer = document.selection && window.ActiveXObj... | JavaScript |
/**
* Tinymce template_list.js sample file
* @version tinymce 3.3.9
* @package Joomla
* @copyright Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License... | JavaScript |
/**
* @version $Id: combobox.js 19871 2010-12-14 01:53:28Z ian $
* @package Joomla.JavaScript
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// Only define the Joomla namespace if not defined.
i... | JavaScript |
/**
* @version $Id: tabs.js 20196 2011-01-09 02:40:25Z ian $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Tabs behavior
*
* @package Joomla!
* @subpackage JavaScript
* @since 1.5
*/... | JavaScript |
/**
* @version $Id: caption.js 19172 2010-10-20 23:54:25Z chdemko $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* JCaption javascript behavior
*
* Used for displaying image captions
*
*... | JavaScript |
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/
* ---------------------------------------------------------------------------
*
* The DHTML Calendar
*
* Details and latest version at:
* http://dynarch.com/mishoo/calendar.epl
*
* This script is distributed under the GNU Lesser General Public... | JavaScript |
/**
* SqueezeBox - Expandable Lightbox
*
* Allows to open various content as modal,
* centered and animated box.
*
* Dependencies: MooTools 1.2
*
* Inspired by
* ... Lokesh Dhakar - The original Lightbox v2
*
* @version 1.1 rc4
*
* @license MIT-style license
* @author Harald Kirschner <mail [at] digit... | JavaScript |
/**
* Fx.ProgressBar
*
* @version 1.1
*
* @license MIT License
*
* @author Harald Kirschner <mail [at] digitarald [dot] de>
* @copyright Authors
*/
Fx.ProgressBar = new Class({
Extends: Fx,
options: {
text: null,
url: null,
transition: Fx.Transitions.Circ.easeOut,
fit: true,
link: 'cancel'
}... | JavaScript |
/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo
* -----------------------------------------------------------
*
* The DHTML Calendar, version 1.0 "It is happening again"
*
* Details and latest version at:
* www.dynarch.com/projects/calendar
*
* This script is developed by Dynarch.com. Visit us at... | JavaScript |
/**
* FancyUpload - Flash meets Ajax for powerful and elegant uploads.
*
* Updated to latest 3.0 API. Hopefully 100% compat!
*
* @version 3.0
*
* @license MIT License
*
* @author Harald Kirschner <http://digitarald.de>
* @copyright Authors
*/
var FancyUpload2 = new Class({
Extends: Swiff.Uploader,
op... | JavaScript |
/*
---
MooTools: the javascript framework
web build:
- http://mootools.net/core/7c56cfef9dddcf170a5d68e3fb61cfd7
packager build:
- packager build Core/Core Core/Array Core/String Core/Number Core/Function Core/Object Core/Event Core/Browser Core/Class Core/Class.Extras Core/Slick.Parser Core/Slick.Finder Core/Eleme... | JavaScript |
/**
* @version $Id: multiselect.js 20196 2011-01-09 02:40:25Z ian $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* JavaScript behavior to allow shift select in administrator grids
*/
(funct... | JavaScript |
/**
* @version $Id: validate.js 19871 2010-12-14 01:53:28Z ian $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Unobtrusive Form Validation library
*
* Inspired by: Chris Campbell <www.par... | JavaScript |
/**
* @version $Id: switcher-uncompressed.js 14276 2010-01-18 14:20:28Z louis $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Switcher behavior
*
* @package Joomla
* @since 1.5
*/
var... | JavaScript |
/*
Script: mootree.js
My Object Oriented Tree
- Developed by Rasmus Schultz, <http://www.mindplay.dk>
- Tested with MooTools release 1.2, under Firefox 2, Opera 9 and Internet Explorer 6 and 7.
License:
MIT-style license.
Credits:
Inspired by:
- WebFX xTree, <http://webfx.eae.net/dhtml/xtree/>
- Destroydrop dT... | JavaScript |
/**
* @version $Id: core-uncompressed.js 20196 2011-01-09 02:40:25Z ian $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// Only define the Joomla namespace if not defined.
if (typeof(Joomla) === '... | JavaScript |
/**
* Swiff.Uploader - Flash FileReference Control
*
* @version 3.0
*
* @license MIT License
*
* @author Harald Kirschner <http://digitarald.de>
* @author Valerio Proietti, <http://mad4milk.net>
* @copyright Authors
*/
Swiff.Uploader = new Class({
Extends: Swiff,
Implements: Events,
options: {
pa... | JavaScript |
/**
* @version $Id: popup-imagemanager.js 20828 2011-02-22 04:22:21Z dextercowley $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* JImageManager behavior for media component
*
* @package ... | JavaScript |
/**
* @version $Id: mediamanager.js 20828 2011-02-22 04:22:21Z dextercowley $
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* JMediaManager behavior for media component
*
* @package Joomla... | JavaScript |
// Angie Radtke 2009 //
/*global window, localStorage, Cookie, altopen, altclose, big, small, rightopen, rightclose, bildauf, bildzu */
//Storeage functions
function supportsLocalStorage() {
return ('localStorage' in window) && window.localStorage !== null;
}
function saveIt(name) {
var x = document.id(name).style... | JavaScript |
/*global window, localStorage, fontSizeTitle, bigger, reset, smaller, biggerTitle, resetTitle, smallerTitle, Cookie */
var prefsLoaded = false;
var defaultFontSize = 100;
var currentFontSize = defaultFontSize;
function supportsLocalStorage() {
return ('localStorage' in window) && window.localStorage !== null;
}
func... | JavaScript |
/* Javscript Document */
| JavaScript |
// Angie Radtke 2009 //
/*global window, localStorage, Cookie, altopen, altclose, big, small, rightopen, rightclose, bildauf, bildzu */
//Storeage functions
function supportsLocalStorage() {
return ('localStorage' in window) && window.localStorage !== null;
}
function saveIt(name) {
var x = document.id(name).style... | JavaScript |
/*global window, localStorage, fontSizeTitle, bigger, reset, smaller, biggerTitle, resetTitle, smallerTitle, Cookie */
var prefsLoaded = false;
var defaultFontSize = 100;
var currentFontSize = defaultFontSize;
function supportsLocalStorage() {
return ('localStorage' in window) && window.localStorage !== null;
}
func... | JavaScript |
//JS script for Joomla template
//JS script for Joomla template
window.addEvent('load', function(){
var StyleCookie = new Hash.Cookie('ZTMorga16StyleCookieSite');
var settings = { colors: '' };
var style_1, style_2, style_3;
//new Asset.css(StyleCookie.get('colors'));
/* Style 1 */
if($('ztcolor1')){$... | JavaScript |
var ie_png = {
ns: 'ie_png',
imgSize: {},
createVmlNameSpace: function() { /* enable VML */
if (document.namespaces && !document.namespaces[this.ns]) {
document.namespaces.add(this.ns, 'urn:schemas-microsoft-com:vml');
}
if (window.attachEvent) {
window.attachEvent('onbeforeunload', function() {
... | JavaScript |
var subnav = new Array();
var ops = '';
Element.implement(
{
doActive: function () {
this.className+=' hover';
},
doDeactive: function () {
this.className=this.className.replace(new RegExp(" hover\\b"), "");
},
hide: function(timeout) {
this.status = 'hide';
clearTimeout (this.timeout);... | JavaScript |
var subnav = new Array();
var ops = '';
Element.implement(
{
doActive: function () {
this.className+=' hover';
},
doDeactive: function () {
this.className=this.className.replace(new RegExp(" hover\\b"), "");
},
hide: function(timeout) {
this.status = 'hide';
clearTimeout (this.timeout);... | JavaScript |
var ZTMenu = function(boxTimer, xOffset, yOffset, smartBoxSuffix, smartBoxClose, isub, xduration, xtransition)
{
var smartBoxes = $(document.body).getElements('[id$=' + smartBoxSuffix + ']');
var closeElem = $(document.body).getElements('.' + smartBoxClose);
var closeBoxes = function() { smartBoxes.setStyle('di... | JavaScript |
var ZTMenu = function(boxTimer, xOffset, yOffset, smartBoxSuffix, smartBoxClose, isub, xduration, xtransition)
{
var smartBoxes = $(document.body).getElements('[id$=' + smartBoxSuffix + ']');
var closeElem = $(document.body).getElements('.' + smartBoxClose);
var closeBoxes = function() { smartBoxes.setStyle('di... | JavaScript |
var ZTFancy = new Class({
Implements: Options,
initialize: function(menu, options){
this.setOptions(this.getOptions(), options);
this.menu = $(menu), this.current = this.menu.getElement('li[class$=active]');
this.menu.getElements('li').each(function(item){
if(item.getProperty('class').split(' ')[0] != ... | JavaScript |
/**
* @version $Id: template.js 20822 2011-02-21 23:02:52Z dextercowley $
* @package Hathor
* @copyright Copyright (C) 2005 - 2009 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Functions
*/
/**
* Set focus to username on th... | JavaScript |
/**
* @version $Id: menu.js 20196 2011-01-09 02:40:25Z ian $
* @package Joomla.Administrator
* @subpackage templates.bluestork
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
var Joomla = Joomla ... | JavaScript |
$(document).ready(function() {
$('a.navigator-link').click(function() {
// Extract the panel for this link
var panel = getPanelName($(this));
// Mark this link as currently selected
$('.navigator-link').parent().removeClass('navigator-selected');
$(this).parent().addClass('n... | JavaScript |
function jAddPlayer(){
base_id = $('#id_form-TOTAL_FORMS').attr('value');
id0 = parseInt(base_id);
id1 = id0+1;
line = '<tr><td>BASE_ID1<input id="id_form-BASE_ID0-draw_id" type="hidden" value="BASE_ID1" name="form-BASE_ID0-draw_id"/>';
line += '<td><input id="id_form-BASE_ID0-name" type="text" name="form-BAS... | JavaScript |
function jAddPlayer(){
base_id = $('#id_form-TOTAL_FORMS').attr('value');
id0 = parseInt(base_id);
id1 = id0+1;
line = '<tr><td>BASE_ID1<input id="id_form-BASE_ID0-draw_id" type="hidden" value="BASE_ID1" name="form-BASE_ID0-draw_id"/>';
line += '<td><input id="id_form-BASE_ID0-name" type="text" name="form-BAS... | JavaScript |
{% autoescape off %}{% block vars %}var map;{% endblock %}
{% block functions %}{% endblock %}
{% block load %}function {{ load_func }}(){
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("{{ dom_id }}"));
map.setCenter(new GLatLng({{ center.1 }}, {{ center.0 }}), {{ zoom }});
{% bloc... | JavaScript |
{% extends "gis/admin/openlayers.js" %}
{% block base_layer %}new OpenLayers.Layer.OSM.Mapnik("OpenStreetMap (Mapnik)");{% endblock %}
| JavaScript |
{# Author: Justin Bronn, Travis Pinney & Dane Springmeyer #}
{% block vars %}var {{ module }} = {};
{{ module }}.map = null; {{ module }}.controls = null; {{ module }}.panel = null; {{ module }}.re = new RegExp("^SRID=\d+;(.+)", "i"); {{ module }}.layers = {};
{{ module }}.wkt_f = new OpenLayers.Format.WKT();
{{ modul... | JavaScript |
storedata.shifts = [{
"Description": "Mechaniker",
"EndTime": "17:30:00",
"ShiftId": "MO-FR",
"StartTime": "07:15:00"
}, {
"Description": "Mechaniker",
"EndTime": "17:30:00",
"ShiftId": "DI-FR",
"StartTime": "07:15:00"
}, {
"Description": "Mechaniker",
"EndTime": "17:30:00",
... | JavaScript |
storedata.reservations = [{
"Contact": {
"ContactAddress": null,
"ContactName": null,
"ContactPostCode": null,
"ContactPostOffice": null,
"ContactTel": null
},
"Duration": 10,
"EndTime": "2012-01-20 17:30:00",
"ReservationNumber": 2197,
"Resourc... | JavaScript |
storedata.departments = [{"Code": "100", "Description": "Verkauf NW"}, {
"Code": "101",
"Description": "Presales"
}, {"Code": "102", "Description": "Vertrieb National"}, {"Code": "150", "Description": "Verkauf Occ"}, {
"Code": "192",
"Description": "Marketing"
}, {"Code": "200", "Description": "Ve... | JavaScript |
storedata.breaks = [{"BreakId": "060", "Description": "Mittagspause", "ShiftId": "MO-FR"}, {
"BreakId": "060",
"Description": "Mittagspause",
"ShiftId": "DI-FR"
}, {"BreakId": "060", "Description": "Mittagspause", "ShiftId": "MI-FR"}, {
"BreakId": "060",
"Description": "Mittagspause",
"Sh... | JavaScript |
storedata.resources = [{
"Department": "400",
"Email": "",
"Name": "Kurth Manuel",
"Phone": "032 637 26 58",
"SmanId": "G31",
"Subsystem": "M",
"UnitId": "114"
}, {
"Department": "400",
"Email": "",
"Name": "Boschung Marco",
"Phone": "031 972.11.70",
"SmanId": "G85",
... | JavaScript |
define(["../has", "require"],
function(has, require){
// summary:
// This module handles loading the appropriate selector engine for the given browser
"use strict";
var testDiv = document.createElement("div");
has.add("dom-qsa2.1", !!testDiv.querySelectorAll);
has.add("dom-qsa3", function(){
// test to see if we ... | JavaScript |
define(["../_base/kernel", "../has", "../dom", "../_base/sniff", "../_base/array", "../_base/lang", "../_base/window"], function(dojo, has, dom){
// module:
// dojo/selector/acme
// summary:
// This module defines the Acme selector engine
/*
acme architectural overview:
acme is a relatively full-fe... | JavaScript |
define(["./kernel", "./lang", "./array", "./config"], function(dojo, lang, ArrayUtil, config){
var Color = dojo.Color = function(/*Array|String|Object*/ color){
// summary:
// Takes a named string, hex string, array of rgb or rgba values,
// an object with r, g, b, and a properties, or another `dojo.Color` ob... | JavaScript |
define(["./kernel", "./connect"], function(dojo, connect) {
// module:
// dojo/unload
// summary:
// This module contains the document and window unload detection API.
var win = window;
/*=====
dojo.windowUnloaded = function(){
// summary:
// signal fired by impending window destruction. You may use
... | JavaScript |
define([
"./kernel", "./sniff", "require", "../io-query", "../dom", "../dom-form", "./Deferred", "./json", "./lang", "./array", "../on"
], function(dojo, has, require, ioq, dom, domForm, deferred, json, lang, array, on){
// module:
// dojo/_base.xhr
// summary:
// This modules defines the dojo.xhr* API.
has.ad... | JavaScript |
define(["./kernel", "../has", "require", "module", "./json", "./lang", "./array"], function(dojo, has, require, thisModule, json, lang, array) {
// module:
// dojo/_base/lader
// summary:
// This module defines the v1.x synchronous loader API.
// signal the loader in sync mode...
//>>pure-amd
if (!has("dojo-... | JavaScript |
define(["./kernel", "../dom", "../dom-style", "../dom-attr", "../dom-prop", "../dom-class", "../dom-construct", "../dom-geometry"], function(dojo, dom, style, attr, prop, cls, ctr, geom){
// module:
// dojo/dom
// summary:
// This module is a stub for the core dojo DOM API.
// mix-in dom
dojo.byId = dom.byId;
... | JavaScript |
define(["./kernel", "../query", "./array", "./html", "../NodeList-dom"], function(dojo, query, array){
// module:
// dojo/_base/NodeList
// summary:
// This module defines dojo.NodeList.
var NodeList = query.NodeList;
/*=====
dojo.extend(dojo.NodeList, {
connect: function(methodName, objOrFunc, f... | JavaScript |
define(["../has", "require"], function(has, require){
// module:
// dojo/_base/config
// summary:
// This module defines the user configuration during bootstrap.
// description:
// By defining user configuration as a module value, an entire configuration can be specified in a build,
// thereby eliminating... | JavaScript |
define(["./kernel", "../on", "../topic", "../aspect", "./event", "../mouse", "./sniff", "./lang", "../keys"], function(kernel, on, hub, aspect, eventModule, mouse, has, lang){
// module:
// dojo/_base/connect
// summary:
// This module defines the dojo.connect API.
// This modules also provides keyboard event ... | JavaScript |
if(require.has){
require.has.add("config-selectorEngine", "acme");
}
define([
"../ready",
"./kernel",
"./connect", // until we decide if connect is going back into non-browser environments
"./unload",
"./window",
"./event",
"./html",
"./NodeList",
"../query",
"./xhr",
"./fx"], function(dojo) {
// module:
... | JavaScript |
define(["./kernel", "../has", "./lang"], function(dojo, has, lang){
// module:
// dojo/_base/declare
// summary:
// This module defines dojo.declare.
var mix = lang.mixin, op = Object.prototype, opts = op.toString,
xtor = new Function, counter = 0, cname = "constructor";
function err(msg, cls){ throw new Er... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.