code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
// SpryHTMLDataSet.js - version 0.20 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2006. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistribu... | JavaScript |
// SpryUtils.js - version 0.3 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions o... | JavaScript |
// SpryDataExtensions.js - version 0.4 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistri... | JavaScript |
// xpath.js - version 0.7 - Spry Pre-Release 1.6.1
//
// Code from xmltoken.js.
//
// Copyright 2006 Google Inc.
// All Rights Reserved
//
// Defines regular expression patterns to extract XML tokens from string.
// See <http://www.w3.org/TR/REC-xml/#sec-common-syn>,
// <http://www.w3.org/TR/xml11/#sec-common-... | JavaScript |
// SpryTSVDataSet.js - version 0.2 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributi... | JavaScript |
// Spry.Effect.js - version 0.38 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2006. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistribution... | JavaScript |
// SpryDebug.js - version 0.9 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions o... | JavaScript |
// SpryXML.js - version 0.4 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2006. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of ... | 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 |
// Flash Player Version Detection - Rev 1.6
// Detect Client Browser type
// Copyright(c) 2005-2006 Adobe Macromedia Software, LLC. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOp... | JavaScript |
// SpryData.js - version 0.41 - Spry Pre-Release 1.6
//
// Copyright (c) 2006. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of ... | JavaScript |
// xpath.js - version 0.7 - Spry Pre-Release 1.6
//
// Code from xmltoken.js.
//
// Copyright 2006 Google Inc.
// All Rights Reserved
//
// Defines regular expression patterns to extract XML tokens from string.
// See <http://www.w3.org/TR/REC-xml/#sec-common-syn>,
// <http://www.w3.org/TR/xml11/#sec-common-sy... | JavaScript |
/* AIRAliases.js - Revision: 0.9 */
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the... | JavaScript |
// checks that minimum length is reached
function checkLength(inputId, formElement, errorId, counterId, minLength, maxLength, isMulti) {
var inputElement = document.getElementById(inputId);
var errorElement = document.getElementById(errorId);
if(inputElement){
inputElement.value = trim(inputElement.value... | JavaScript |
var selectedId;
var tableRow = $('table tr')
if (typeof jQuery !== 'undefined') {
(function ($) {
$('#spinner').ajaxStart(function () {
$(this).fadeIn();
}).ajaxStop(function () {
$(this).fadeOut();
});
})(jQuery);
}
function deleteData(url) {
window.locat... | JavaScript |
/*!
* jGauge v0.3.0 Alpha 3
* http://www.jgauge.com/
* Date: 03 March 2011
*
* Copyright 2010-2011, Darian Cabot
* Licensed under the MIT license
* http://www.jgauge.com/#licence
*/
/*
* CHANGE LOG: VERSION 0.3.0 ALPHA 3:
* ====================================
*
* - Added automatic 'SI/bin... | JavaScript |
// VERSION: 1.7 LAST UPDATE: 16.12.2010
/*
* THIS IS FREE SCRIPT BUT LEAVE THIS COMMENT IF
* YOU WANT USE THIS CODE ON YOUR SITE
*
* Made by Wilq32, wilq32@gmail.com, Wroclaw, Poland, 01.2009
* http://wilq32.blogspot.com
*
*/
/*
Description:
This is an final product of a Wilq32.PhotoEffect Snippet... | JavaScript |
function hideMenu(menuNum){
document.getElementById("menuContainer"+menuNum).style.display="none";
}
function showMenu(menuNum){
document.getElementById("menuContainer"+menuNum).style.display="block";
}
function newsCollapse(newsPost) {
var obj;
obj = document.getElementById(newsPost);
... | JavaScript |
/*
+-------------------------------------------------------------------+
| J S - T O O L T I P (v1.2) |
| |
| Copyright Gerd Tentler www.gerd-tentler.de/tools |
| Created: Feb. 15, 2005 ... | JavaScript |
/*
tip_followscroll.js v. 1.1
The latest version is available at
http://www.walterzorn.com
or http://www.devira.com
or http://www.walterzorn.de
Initial author: Walter Zorn
Last modified: 21.6.2007
Extension for the tooltip library wz_tooltip.js.
Lets a "sticky" tooltip keep its position inside the client... | JavaScript |
function show(target){target.style.display="";return true;}
function showBlock(target){target.style.display="block";return true;}
function hide(target){target.style.display="none";return true;}
function getNodeClass(obj){var result=false;if(obj.getAttributeNode("class")){result=obj.attributes.getNamedItem("class").v... | JavaScript |
/*
tip_centerwindow.js v. 1.2
The latest version is available at
http://www.walterzorn.com
or http://www.devira.com
or http://www.walterzorn.de
Initial author: Walter Zorn
Last modified: 23.6.2007
Extension for the tooltip library wz_tooltip.js.
Centers a sticky tooltip in the window's visible clientare... | JavaScript |
var uagent = navigator.userAgent.toLowerCase();
var is_safari = ( (uagent.indexOf('safari') != -1) || (navigator.vendor == "Apple Computer, Inc.") );
var is_opera = (uagent.indexOf('opera') != -1);
var is_webtv = (uagent.indexOf('webtv') != -1);
var is_ie = ( (uagent.indexOf('msie') != -1) && (!is_opera) &... | JavaScript |
/* This notice must be untouched at all times.
wz_tooltip.js v. 3.45
The latest version is available at
http://www.walterzorn.com
or http://www.devira.com
or http://www.walterzorn.de
Copyright (c) 2002-2005 Walter Zorn. All rights reserved.
Created 1. 12. 2002 by Walter Zorn (Web: http://www.walterzorn.... | JavaScript |
// JavaScript Document
function transformData(startPoint)
{
var branchLength = eval("Menu" + startPoint + "[3]");
for (var i=1; i <= branchLength; i++)
{
currentName = eval("Menu" + startPoint + "_" + i + "[0]");
currentNameId = currentName + "@" + startPoint + "_" + i;
currentUrl = eval("Menu" + st... | JavaScript |
function hideMenu(menuNum){
document.getElementById("menuContainer"+menuNum).style.display="none";
}
function showMenu(menuNum){
document.getElementById("menuContainer"+menuNum).style.display="block";
}
function newsCollapse(newsPost) {
var obj;
obj = document.getElementById(newsPost);
... | JavaScript |
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt... | JavaScript |
function topicElement(topic, linkString, parentString, synonymsArray)
{
this.topic = topic;
this.linkString = linkString;
this.parentString = parentString;
this.synonymsArray = synonymsArray;
}
//topicsArray[""] = new topicElement("","",""); topicList[k++] = "";
topicsArray = new Object();
topicList = new Ar... | JavaScript |
window.onload = function fixActiveX ()
{
if(navigator.appName == "Microsoft Internet Explorer" && navigator.userAgent.indexOf('Opera') == -1)
{
var changeElements = new Array(3);
changeElements[0] = "applet";
changeElements[1] = "embed";
changeElements[2] = "object";
//mooooooo!
offScreenBuffer = doc... | JavaScript |
var global_nav_lang, opt;
function buildtopnav(){
global_nav_lang = (global_nav_lang) ? global_nav_lang.toLowerCase() : "";
linkarray = new Array();
outstring = "";
link1 = new Object();
link2 = new Object();
link3 = new Object();
switch(global_nav_lang){
case "de_de":
link2.text = "Das Arsenal"
... | JavaScript |
/*
------------------------------------------------
PVII Equal CSS Columns scripts -Version 2
Copyright (c) 2005 Project Seven Development
www.projectseven.com
Version: 2.1.0
------------------------------------------------
*/
function P7_colH2(){ //v2.1.0 by PVII-www.projectseven.com
var i,oh,h=... | JavaScript |
var agt=navigator.userAgent.toLowerCase();
var appVer = navigator.appVersion.toLowerCase();
// *** BROWSER VERSION ***
var is_minor = parseFloat(appVer);
var is_major = parseInt(is_minor);
// Note: On IE, start of appVersion return 3 or 4
// which supposedly is the version of Net... | JavaScript |
// JavaScript Document
function transformData(startPoint)
{
var branchLength = eval("Menu" + startPoint + "[3]");
for (var i=1; i <= branchLength; i++)
{
currentName = eval("Menu" + startPoint + "_" + i + "[0]");
currentNameId = currentName + "@" + startPoint + "_" + i;
currentUrl = eval("Menu" + st... | JavaScript |
function hideMenu(menuNum){
document.getElementById("menuContainer"+menuNum).style.display="none";
}
function showMenu(menuNum){
document.getElementById("menuContainer"+menuNum).style.display="block";
}
function newsCollapse(newsPost) {
var obj;
obj = document.getElementById(newsPost);
... | JavaScript |
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt... | JavaScript |
function topicElement(topic, linkString, parentString, synonymsArray)
{
this.topic = topic;
this.linkString = linkString;
this.parentString = parentString;
this.synonymsArray = synonymsArray;
}
//topicsArray[""] = new topicElement("","",""); topicList[k++] = "";
topicsArray = new Object();
topicList = new Ar... | JavaScript |
window.onload = function fixActiveX ()
{
if(navigator.appName == "Microsoft Internet Explorer" && navigator.userAgent.indexOf('Opera') == -1)
{
var changeElements = new Array(3);
changeElements[0] = "applet";
changeElements[1] = "embed";
changeElements[2] = "object";
//mooooooo!
offScreenBuffer = doc... | JavaScript |
var global_nav_lang, opt;
function buildtopnav(){
global_nav_lang = (global_nav_lang) ? global_nav_lang.toLowerCase() : "";
linkarray = new Array();
outstring = "";
link1 = new Object();
link2 = new Object();
link3 = new Object();
switch(global_nav_lang){
case "de_de":
link2.text = "Das Arsenal"
... | JavaScript |
/*
------------------------------------------------
PVII Equal CSS Columns scripts -Version 2
Copyright (c) 2005 Project Seven Development
www.projectseven.com
Version: 2.1.0
------------------------------------------------
*/
function P7_colH2(){ //v2.1.0 by PVII-www.projectseven.com
var i,oh,h=... | JavaScript |
var agt=navigator.userAgent.toLowerCase();
var appVer = navigator.appVersion.toLowerCase();
// *** BROWSER VERSION ***
var is_minor = parseFloat(appVer);
var is_major = parseInt(is_minor);
// Note: On IE, start of appVersion return 3 or 4
// which supposedly is the version of Net... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | JavaScript |
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | JavaScript |
var isCommonJS = typeof window == "undefined";
/**
* Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework.
*
* @namespace
*/
var jasmine = {};
if (isCommonJS) exports.jasmine = jasmine;
/**
* @private
*/
jasmine.unimplementedMethod_ = function() {
throw new Error("unimplemented ... | JavaScript |
jasmine.HtmlReporterHelpers = {};
jasmine.HtmlReporterHelpers.createDom = function(type, attrs, childrenVarArgs) {
var el = document.createElement(type);
for (var i = 2; i < arguments.length; i++) {
var child = arguments[i];
if (typeof child === 'string') {
el.appendChild(document.createTextNode(ch... | JavaScript |
/*
* jQuery 1.2.6 - New Wave Javascript
*
* Copyright (c) 2008 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008)
* Rev: 5685
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c... | JavaScript |
/**
* Roar - Notifications
*
* Inspired by Growl
*
* @version 1.0.1
*
* @license MIT-style license
* @author Harald Kirschner <mail [at] digitarald.de>
* @copyright Author
*/
var Roar = new Class({
Implements: [Options, Events, Chain],
options: {
duration: 4000,
position: 'upperL... | JavaScript |
function ajaxTextPreview(textId,save,divPreview) {
var text;
if (BLOG_USE_TINYMCE && tinyMCE && (ed=tinyMCE.get(textId))) {
text = ed.getContent();
} else {
text = $(textId).value;
}
JsHttpRequest.query(
DIR_WEB_ROOT+'/include/ajax/textPreview.php',
{ text: text, save... | JavaScript |
function ajaxJoinLeaveBlog(obj,idBlog) {
obj=$(obj);
JsHttpRequest.query(
DIR_WEB_ROOT+'/include/ajax/joinLeaveBlog.php',
{ idBlog: idBlog },
function(result, errors) {
if (!result) {
msgErrorBox.alert('Error','Please try again later'); ... | JavaScript |
/**
* Autocompleter
*
* http://digitarald.de/project/autocompleter/
*
* @version 1.1.2
*
* @license MIT-style license
* @author Harald Kirschner <mail [at] digitarald.de>
* @copyright Author
*/
var Autocompleter = new Class({
Implements: [Options, Events],
options: {/*
onOver: $empt... | JavaScript |
var lsPanelClass = new Class({
initialize: function(){
},
putText: function(obj,text) {
obj=$(obj);
var scrollLeft=obj.scrollLeft;
var scrollTop=obj.scrollTop;
if (Browser.Engine.trident && document.selection) {
obj.focus();
sel=document.selection.createRange();
sel.text=text;
} else {
... | JavaScript |
function showLoginForm() {
if (Browser.Engine.trident) {
return true;
}
if (!winFormLogin) {
winFormLogin=new StickyWin.Modal({content: $('login-form'), closeClassName: 'close-block', useIframeShim: false});
}
winFormLogin.show();
winFormLogin.pin(true);
return false;
}
function hideLoginForm() {
winFo... | JavaScript |
/**
* Observer - Observe formelements for changes
*
* - Additional code from clientside.cnet.com
*
* @version 1.1
*
* @license MIT-style license
* @author Harald Kirschner <mail [at] digitarald.de>
* @copyright Author
*/
var Observer = new Class({
Implements: [Options, Events],
options: ... | JavaScript |
/**
* Autocompleter.Request
*
* http://digitarald.de/project/autocompleter/
*
* @version 1.1.2
*
* @license MIT-style license
* @author Harald Kirschner <mail [at] digitarald.de>
* @copyright Author
*/
Autocompleter.Request = new Class({
Extends: Autocompleter,
options: {/*
indicato... | JavaScript |
/*
Script: piechart.js
Dependencies:
mootools-beta-1.2b2.js
moocanvas.js
Author:
Greg Houston, <http://greghoustondesign.com/>
Credits:
Based on Stoyan Stefanov's Canvas Pie:< http://www.phpied.com/canvas-pie/>
Color algorithm inspired by Jim Bumgardner:<http://www.krazydad.com/makecolors.php>
Li... | JavaScript |
var lsBlockLoaderClass = new Class({
Implements: Options,
options: {
classes_nav: {
nav: 'block-nav',
content: 'block-content',
active: 'active'
} ... | JavaScript |
/**
* JsHttpRequest: JavaScript "AJAX" data loader
* Minimized version: see debug directory for the complete one.
*
* @license LGPL
* @author Dmitry Koterov, http://en.dklab.ru/lib/JsHttpRequest/
* @version 5.x $Id$
*/
function JsHttpRequest(){
var t=this;
t.onreadystatechange=null;
t.readyState=0;
t... | JavaScript |
/*
Script: Core.js
MooTools - My Object Oriented JavaScript Tools.
License:
MIT-style license.
Copyright:
Copyright (c) 2006-2008 [Valerio Proietti](http://mad4milk.net/).
Code & Documentation:
[The MooTools production team](http://mootools.net/developers/).
Inspiration:
- Class implementation inspired by [Bas... | JavaScript |
var lsCmtTreeClass = new Class({
Implements: Options,
options: {
img: {
path: 'images/',
openName: 'open.gif',
closeName: 'close.gif'
},
classes: {
visible: 'lsCmtTree_visible',
hidden: 'lsCmtTree_hidden',
openImg: 'lsCmtTree_open',
closeImg: ... | JavaScript |
var lsVote;
var lsVoteClass = new Class({
Implements: Options,
options: {
classes_action: {
voted: 'voted',
plus: 'plus',
minus:... | JavaScript |
function ajaxQuestionVote(idTopic,idAnswer) {
JsHttpRequest.query(
DIR_WEB_ROOT+'/include/ajax/questionVote.php',
{ idTopic: idTopic, idAnswer: idAnswer },
function(result, errors) {
if (!result) {
msgErrorBox.alert('Error','Please try again later... | JavaScript |
var lsFavourite;
var lsFavouriteClass = new Class({
Implements: Options,
options: {
classes_action: {
active: 'active',
quest: 'quest'
},
... | JavaScript |
function ajaxToggleUserFrend(obj,idUser) {
obj=$(obj);
JsHttpRequest.query(
DIR_WEB_ROOT+'/include/ajax/userFriend.php',
{ idUser: idUser },
function(result, errors) {
if (!result) {
msgErrorBox.alert('Error','Please try again later'); ... | JavaScript |
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;... | JavaScript |
// Copyright 2011 Google Inc. All Rights Reserved.
/**
* @fileoverview This script posts to the data servlet with a request for data
* to display until either the servlet responds with data or responds that it
* failed. The servlet responds to each post with a message, which the script
* displays to the user and d... | JavaScript |
'use strict';
function UserCtrl($scope, backend) {
$scope.user = null;
$scope.login = function() {
backend.user().then(function(response) {
$scope.user = response.data;
});
}
$scope.login();
}
function EditorCtrl($scope, $location, $routeParams, $timeout, editor, autosaver) {
console.log($rout... | JavaScript |
'use strict';
var module = angular.module('app.directives', []);
module.directive('aceEditor', function(editor) {
return {
retrict: 'A',
link: function(scope, element) {
editor.rebind(element[0]);
}
};
});
module.directive('star', function() {
return {
restrict: 'E',
replace: true,
... | JavaScript |
'use strict';
google.load('picker', '1');
angular.module('app', ['app.filters', 'app.services', 'app.directives'])
.constant('saveInterval', 15000)
.constant('appId', '892677078282')
.constant('EditorState', {
CLEAN: 0,// NO CHANGES
DIRTY: 1, // UNSAVED CHANGES
SAVE: 2, // SAVE IN PROGRESS
LOAD: 3, // LOADIN... | JavaScript |
'use strict';
/* Filters */
angular.module('app.filters', [])
.filter('saveStateFormatter', function(EditorState) {
return function(state) {
if (state == EditorState.DIRTY) {
return 'You have unsaved changes';
} else if (state == EditorState.SAVE) {
return 'Saving...';
} else if (state == Ed... | JavaScript |
'use strict';
var module = angular.module('app.services', []);
module.factory('editor', function(EditorState, backend, $q, $rootScope, $log) {
var editor = null;
var EditSession = require("ace/edit_session").EditSession;
var service = {
state: EditorState.CLEAN,
deferredState: EditorState... | JavaScript |
/*!
* jQuery JavaScript Library v1.7.2
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngResource
* @description
*/
/**
* @ngdoc object
* @name ngResource.$resource
* @requires $http
*
* @description
* A fa... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, document, undefined) {
'use strict';
////////////////////////////////////
/**
* @ngdoc function
* @name angular.lowercase
* @function
*
* @description Converts the specified string to lowerca... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*
* TODO(vojta): wrap whole file into closure during build
*/
/**
* @ngdoc overview
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*/
angular.moc... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
var directive = {};
var service = { value: {} };
var DEPENDENCIES = {
'angular.js': 'http://code.angularjs.org/angular-' + angular.version.full + '.min.js',
... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngSanitize
* @description
*/
/*
* HTML Parser By Misko Hevery (misko@hevery.com)
* based on: HTML Parser By John Resig (ejo... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window) {
'use strict';
/**
* JSTestDriver adapter for angular scenario tests
*
* Example of jsTestDriver.conf for running scenario tests with JSTD:
<pre>
server: http://localhost:9877
load:
... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
var directive = {};
directive.dropdownToggle =
['$document', '$location', '$window',
function ($document, $location, $window) {
var openElem... | JavaScript |
/**
* Configuration for jstd scenario adapter
*/
var jstdScenarioAdapter = {
relativeUrlPrefix: '/build/docs/'
};
| JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngCookies
*/
angular.module('ngCookies', ['ng']).
/**
* @ngdoc object
* @name ngCookies.$cookies
* @requires $brows... | JavaScript |
/**
* @license AngularJS v1.0.0
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(
/**
* @ngdoc interface
* @name angular.Module
* @description
*
* Interface for configuring angular {@link angular.module modules}.
*/
function setupModuleLoader(window) {
function ensure(obj, name, fact... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
"no use strict";
var console = {
log: function(msg) {
postMessage({type: "log", data: msg});
}
};
var window = {
console: console
};
var normalizeModule = function(parentId, moduleName) {
// normalize plugin requires
if (moduleName.indexOf("!") !== -1) {
var chunks = moduleName.spl... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
/* vim:ts=4:sts=4:sw=4:
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
"no use strict";
var console = {
log: function(msg) {
postMessage({type: "log", data: msg});
}
};
var window = {
console: console
};
var normalizeModule = function(parentId, moduleName) {
// normalize plugin requires
if (moduleName.indexOf("!") !== -1) {
var chunks = moduleName.spl... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
define('ace/mode/java', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/java_highlight_rules'], function(require, exports, module) {
var oop = require("../lib/oop");
var JavaScriptMode = require("./javascript").Mode;
var Tokenizer = require("../tokenizer").Tokenizer;... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
"no use strict";
var console = {
log: function(msg) {
postMessage({type: "log", data: msg});
}
};
var window = {
console: console
};
var normalizeModule = function(parentId, moduleName) {
// normalize plugin requires
if (moduleName.indexOf("!") !== -1) {
var chunks = moduleName.spl... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.