code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
var map;
var geocoder;
var address;
var trafficInfo;
var toggleState = 1;
var addressMarker = null;
var animating = false;
var globalTime=0;
var timeStep = 50;
var scheduledCheck;
var target; //slider
%s
function help() { alert("Th... | JavaScript |
var map;
var geocoder;
var address;
var trafficInfo;
var toggleState = 1;
var addressMarker = null;
var animating = false;
var globalTime=0;
var timeStep = 50;
var scheduledCheck;
var target; //slider
var playerMarks = new Array(14);
var num... | JavaScript |
/**
* Copyright (c) 2008 Google Inc.
*
* You are free to copy and use this sample.
* License can be found here:
* http://code.google.com/apis/ajaxsearch/faq/#license
*/
(function () {
var afsMode = true;
var afsLoadRequested = false;
function LocalSearch(opt_options) {
// inline ads
this.inlineAds = null;
... | JavaScript |
// PolylineEncoder.js copyright Mark McClure April/May 2007
//
// This software is placed explicitly in the public
// domain and may be freely distributed or modified.
// No warranty express or implied is provided.
//
// History:
// V 2.1 July 2007
// Minor modification in distance function to enhance
// speed. ... | JavaScript |
/*
* ExtMapTypeControl Class v1.3
* Copyright (c) 2007, Google
* Author: Pamela Fox, others
*
* 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/LICE... | JavaScript |
/**
* http://www.openjs.com/scripts/events/keyboard_shortcuts/
* Version : 2.01.B
* By Binny V A
* License : BSD
*/
shortcut = {
'all_shortcuts':{},//All the shortcuts are stored in this array
'add': function(shortcut_combination,callback,opt) {
//Provide a set of default options
var default_options = {
'... | JavaScript |
// replace timeStep with delay
var map;
var geocoder;
var address;
var trafficInfo;
var toggleState = 1;
var addressMarker = null;
var animating = false;
var scheduledCheck;
var target; //slider
var polylines;
var polylineEncoder;
%s
function help() { alert("This is a demo of our cloud application, which serve... | JavaScript |
/**
* JsSpec library, version '0.2.2' (c) 2007 Nicolas Sanguinetti
*
* JsSpec for JavaScript is freely distributable under the terms of an MIT-style
* license. For details, see the web site:
* http://code.google.com/p/js-spec/
*
*/
var JsSpec = {
Version: '0.2.2'
};
Object.extend(Object, {
respondTo: funct... | JavaScript |
// String Extensions
Object.extend(String.prototype, {
pluralize: function() {
return Inflector.pluralize(this.toString());
},
singularize: function() {
return Inflector.singularize(this.toString());
}
});
| JavaScript |
// Inflector
var Inflector = {
pluralize: function(word) {
if (Inflections.uncountables.include(word.toLowerCase()))
return word;
return Inflections.plurals.map(function(pair) {
return word.replace(pair.first(), pair.last());
}).detect(function(plural) { return word != plural; }) || word;
},
singulariz... | JavaScript |
// Number Extensions
$w("abs acos asin atan ceil cos exp floor log pow round sin sqrt tan").each(function(method) {
Number.prototype[method] = Math[method].methodize();
});
Object.extend(Number.prototype, {
ordinalize: function() {
return Inflector.ordinalize(this);
}
});
(function() {
var ByteExtensions = {
... | JavaScript |
// Array Extensions
Array.prototype.toSentence = function() {
var options = Object.extend({
"connector": "and",
"skip_last_comma": false
}, arguments[0] || {});
switch (this.length) {
case 0: return "";
case 1: return this.first().toString();
case 2: return this[0] + " " + options.connector + " "... | JavaScript |
<%= include 'HEADER' %>
var ActiveSupport = {
Version: '<%= ACTIVE_SUPPORT_VERSION %>',
pluralizeMethods: function(module) {
$H(module).each(function(pair) {
module[pair.first().pluralize()] = module[pair.first()];
});
},
pluralize: function(count, singular) {
return count.abs() == 1 ? count + " " + sin... | JavaScript |
// Date Extensions
Object.extend(Date, {
MONTHS: $w("January February March April May June July August September October November December"),
ABBR_MONTHS: $w("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"),
WEEKDAYS: $w("Sunday Monday Tuesday Wednesday Thursday Friday Saturday"),
ABBR_WEEKDAYS: $w("... | JavaScript |
// String Extensions
Object.extend(String.prototype, {
interpolate: function(binding) {
return new InterpolatableString(this, binding || window).toString();
},
pluralize: function() {
return Inflector.pluralize(this.toString());
},
singularize: function() {
return Inflector.singularize(this.toString());
}... | JavaScript |
// Inflector
var Inflector = {
pluralize: function(word) {
if (Inflections.uncountables.include(word.toLowerCase()))
return word;
return Inflections.plurals.map(function(pair) {
return word.replace(pair.first(), pair.last());
}).detect(function(plural) { return word != plural; }) || word;
},
singulariz... | JavaScript |
// Number Extensions
$w("abs acos asin atan ceil cos exp floor log pow round sin sqrt tan").each(function(method) {
Number.prototype[method] = Math[method].methodize();
});
Object.extend(Number.prototype, {
ordinalize: function() {
return Inflector.ordinalize(this);
}
});
Number.ByteExtensions = {
byte: f... | JavaScript |
// Array Extensions
Array.prototype.toSentence = function() {
var options = Object.extend({
"connector": "and",
"skip_last_comma": false
}, arguments[0] || {});
switch (this.size()) {
case 0: return "";
case 1: return this.reduce();
case 2: return $Q("#{this.first()} #{options['connector']} #{this.l... | JavaScript |
// String Interpolation
var InterpolatableString = Class.create();
InterpolatableString.prototype = {
initialize: function(string, binding) {
this.string = string;
this.tokens = (string.match(/#{([^}]+)}/ig) || []).map(function(token) {
return new InterpolatableString.Token(token, binding);
});
},
toStri... | JavaScript |
<%= include 'HEADER' %>
var ActiveSupport = {
Version: '<%= ACTIVE_SUPPORT_VERSION %>',
pluralizeMethods: function(module) {
$H(module).each(function(pair) {
module[pair.first().pluralize()] = module[pair.first()];
});
},
pluralize: function(count, singular) {
return count.abs() == 1 ? count + " " + sin... | JavaScript |
// Date Extensions
Object.extend(Date, {
MONTHS: $w("January February March April May June July August September October November December"),
ABBR_MONTHS: $w("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"),
WEEKDAYS: $w("Sunday Monday Tuesday Wednesday Thursday Friday Saturday"),
ABBR_WEEKDAYS: $w("... | JavaScript |
(function($){
/*
* jqGrid methods without support. Use as you wish
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
*
* This list of deprecated methods... | JavaScript |
(function($){
/*
* jqGrid methods without support. Use as you wish
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
*
* This list of deprecated methods... | JavaScript |
$(function() {
//decorate button
$("input:submit,input:reset,a.href-button").button();
//highlight input and textarea
$('input[type=text], input[type=password], textarea').focus(function() {
$(this).addClass('highlight');
}).mouseover(function() {
$(this).addClass('highlight');
}).blur(function() {
... | JavaScript |
function clearErrorMessages(form) {
// clear out any rows with an "errorFor" attribute
var divs = form.getElementsByTagName("div");
var paragraphsToDelete = new Array();
for(var i = 0; i < divs.length; i++) {
var p = divs[i];
if (p.getAttribute("errorFor")) {
paragraphsToDelete.pu... | JavaScript |
$(function() {
//decorate button
$("input:submit,input:reset,a.href-button").button();
//highlight input and textarea
$('input[type=text], input[type=password], textarea').focus(function() {
$(this).addClass('highlight');
}).mouseover(function() {
$(this).addClass('highlight');
}).blur(function() {
... | JavaScript |
function clearErrorMessages(form) {
// clear out any rows with an "errorFor" attribute
var divs = form.getElementsByTagName("div");
var paragraphsToDelete = new Array();
for(var i = 0; i < divs.length; i++) {
var p = divs[i];
if (p.getAttribute("errorFor")) {
paragraphsToDelete.pu... | JavaScript |
$(function() {
//decorate button
$("input:submit,input:reset,a.href-button").button();
//highlight input and textarea
$('input[type=text], input[type=password], textarea').focus(function() {
$(this).addClass('highlight');
}).mouseover(function() {
$(this).addClass('highlight');
}).blur(function() {
... | JavaScript |
function clearErrorMessages(form) {
// clear out any rows with an "errorFor" attribute
var divs = form.getElementsByTagName("div");
var paragraphsToDelete = new Array();
for(var i = 0; i < divs.length; i++) {
var p = divs[i];
if (p.getAttribute("errorFor")) {
paragraphsToDelete.pu... | JavaScript |
$(function() {
//decorate button
$("input:submit,input:reset,a.href-button").button();
//highlight input and textarea
$('input[type=text], input[type=password], textarea').focus(function() {
$(this).addClass('highlight');
}).mouseover(function() {
$(this).addClass('highlight');
}).blur(function() {
... | JavaScript |
function clearErrorMessages(form) {
// clear out any rows with an "errorFor" attribute
var divs = form.getElementsByTagName("div");
var paragraphsToDelete = new Array();
for(var i = 0; i < divs.length; i++) {
var p = divs[i];
if (p.getAttribute("errorFor")) {
paragraphsToDelete.pu... | JavaScript |
/*
Formalize - version 1.1
Note: This file depends on the jQuery library.
*/
// Module pattern:
// http://yuiblog.com/blog/2007/06/12/module-pattern
var FORMALIZE = (function($, window, document, undefined) {
// Private constants.
var PLACEHOLDER_SUPPORTED = 'placeholder' in document.createElement('... | JavaScript |
/*
* jqModal - Minimalist Modaling with jQuery
* (http://dev.iceburg.net/jquery/jqModal/)
*
* Copyright (c) 2007,2008 Brice Burgess <bhb@iceburg.net>
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* $... | JavaScript |
/**
* ActiveRules specific code is here.
* Commonly used hird party libraries copied into here as well.
*/
/* ============================================================ */
/* jqModal third party library
/* Provides easy to use modals
/* ============================================================ */... | JavaScript |
$(document).ready(function()
{
// Translation selector
$('#topbar form select').change(function()
{
$(this).parents('form').submit();
});
// Syntax highlighter
$('pre:not(.debug) code').each(function()
{
$(this).addClass('brush: php');
});
SyntaxHighlighter.config.tagName = 'code';
// Don... | JavaScript |
(function __simplepage3(){
var _label = "Simon";
Ext.define('example.data', {
extend: 'Ext.data.Model',
fields: ['userCode', 'userName',"aliasName","address","startTime","endTime","birthday"]
});
return {
constructor :function(){
_label = "Fish";
},
layout:{
type:'vbox',
... | JavaScript |
Ext.define('Ext.ux.RowEditor', {
extend: 'Ext.grid.RowEditor',
requires: [
'Ext.tip.ToolTip',
'Ext.util.HashMap',
'Ext.util.KeyNav'
]/*,
completeEdit: function() {
var me = this,
form = me.getForm();
if (!form.isValid()) {
... | JavaScript |
Ext.create('Ext.container.Container', {
init:function(){
alert('asdfasdf');
},
constructor: function() {
alert('asdfasssssdf');
this.callParent(arguments);
},
layout:{
type:'vbox',
padding: 1 ,
align:'stretch'
},
items:[
{
xtype:'form',
frame:true,
layout: {
... | JavaScript |
{
layout:{
type:'vbox',
padding: 1 ,
align:'stretch'
},
items:[
{
xtype:'form',
frame:true,
layout: {
type:'table',
columns:3
},
defaults:{
margin:5
},
reader: Ext.create('Ext.data.reader.J... | JavaScript |
Ext.define('Ext.app.Main', {
extend : 'Ext.container.Viewport',
tabPanel: null,
// requires: [ 'Ext.diag.layout.ContextItem', 'Ext.diag.layout.Context' ],
getTools : function() {
return Ext.create("Ext.Toolbar", {
region : 'south',
height : 25,
items : ['登录人:', "sysAdmin", {
xtype... | JavaScript |
{
success:true,
data:{
userCode:1001,
userName:"Acus",
aliasName:"Simon",
address: "FJ XM",
endTime:'2011-10-13',
/*startTime:new Date(),
endTime:new Date()*/
}
}
| JavaScript |
(function __simplepage3(){
var pageId = "simplepage";
var queryModelName = pageId+'.queryform.data';
var mainModelName = pageId+'.maingrid.data';
Ext.define( queryModelName , {
extend: 'Ext.data.Model',
fields: ['userCode', 'userName',"aliasName","address","startTime","endTime","birthda... | JavaScript |
//<%
/**
* jsUnity Universal JavaScript Testing Framework v0.6
* http://jsunity.com/
*
* Copyright (c) 2009 Ates Goral
* Licensed under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
jsUnity = (function () {
function fmt(str) {
var a = Array.prototype.slice.call... | JavaScript |
// Copyright (C) 2009 Andy Chu
//
// 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 law or agreed to i... | JavaScript |
function log(msg) {
// Multiline message break scraping
msg = msg.replace(/\n/g, 'NEWLINE');
print('V8LOG:', msg);
}
function repr(d) {
var result = [];
for (var k in d) {
result.push('k: ' + k + ' v: ' + d[k] + ' ');
}
return result.join('');
}
function showArray(a) {
var result = [];
result.p... | JavaScript |
// Standalone tests for the JavaScript version
jsUnity.log = print; // From cscript-shell
var module = function() {
// Data for multiple tests
var foo = function(value) { return 'foo'; };
var FunctionsApiTest = {
suiteName: 'FunctionsApiTest',
testMoreFormattersAsFunction: function () {
fo... | JavaScript |
// define this because v8 has it
function print(msg) {
WScript.Stdout.WriteLine(msg);
}
var lines = [];
var files = []; // list of JS files to run
if (WScript.Arguments.length > 0) { // program name not included
var fs = WScript.CreateObject("Scripting.FileSystemObject");
for (var i=0; i < WScri... | JavaScript |
// Plugins for JSON Template docs
PLUGINS.onDocPush = function(docStack) {
if (docStack.get('filename').slice(null, 1) === 'r') {
print('FILENAME ' + docStack.get('filename'));
print(docStack.debugString());
}
var prettyBase = docStack.get('prettify-base-url');
var newEntry = {};
if (docStack.get('pr... | JavaScript |
$(document).ready(function () {
$("#add").button();
});
function deleteCargo(idCargo) {
//$("#deleteCargo-confirm").dialog('open');
var result = confirm('Esta seguro que desea eliminar este cargo?');
if (result) {
var btnClickeado = $('#btnEliminar' + idCargo);
var parametro... | JavaScript |
$(document).ready(function () {
$("#add").button();
});
function deleteUsuario(idUsuario) {
//$("#deleteCargo-confirm").dialog('open');
var result = confirm('Esta seguro que desea eliminar este Usuario?');
if (result) {
var btnClickeado = $('#btnEliminar' + idUsuario);
var p... | JavaScript |
$(document).ready(function () {
$("#add").button();
});
function deletePersonal(idPersonal) {
//$("#deleteCargo-confirm").dialog('open');
var result = confirm('Esta seguro que desea eliminar este Personal?');
if (result) {
var btnClickeado = $('#btnEliminar' + idPersonal);
v... | JavaScript |
function saveUFV(date, amount) {
var parametros = {
fecha: date,
valor: amount
};
var url = "content/index.aspx/saveUFV";
var paramString = JSON.stringify(parametros);
var result = '';
$.ajax({
url: url,
async: false,
data: paramString,
... | JavaScript |
function validateDecimal(value) {
var regex = new RegExp('/^[0-9]*([\.][0-9]+)?$/');
alert(value.match('/^[0-9]*([\.][0-9]+)?$/'));
return value.match(regex);
} | JavaScript |
$(document).ready(function () {
$("#add").button();
$("#delete").button();
});
function darDeBaja(id, date, motive) {
var parametros = {
idActivo: id,
fecha: date,
motivo: motive
};
var url = "/content/ActivoFijoList.aspx/DarDeBaja";
var paramString = JSON.s... | JavaScript |
function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {
this.eventTarget = eventTarget;
this.eventArgument = eventArgument;
this.validation = validation;
this.validationGroup = validationGroup;
this.actionUrl = actionUrl;
... | JavaScript |
var Page_ValidationVer = "125";
var Page_IsValid = true;
var Page_BlockSubmit = false;
var Page_InvalidControlToBeFocused = null;
function ValidatorUpdateDisplay(val) {
if (typeof(val.display) == "string") {
if (val.display == "None") {
return;
}
if (val.display == "Dyna... | JavaScript |
function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {
this.eventTarget = eventTarget;
this.eventArgument = eventArgument;
this.validation = validation;
this.validationGroup = validationGroup;
this.actionUrl = actionUrl;
... | JavaScript |
var Page_ValidationVer = "125";
var Page_IsValid = true;
var Page_BlockSubmit = false;
var Page_InvalidControlToBeFocused = null;
function ValidatorUpdateDisplay(val) {
if (typeof(val.display) == "string") {
if (val.display == "None") {
return;
}
if (val.display == "Dyna... | 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 |
/* ***** 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 |
/* ***** 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.