code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ //Установить дату по умолчанию для datepicker. Датой по умолчанию считается сегодняшняя function setDatepickerDefDate(datepickerId) { var dateStr = getTodayDateString(); var jQueryID = '#'+datepickerId; $(j...
JavaScript
function dialogMoveToEmployee(getNew) { $.ajax({ "url" : 'a_dialog_move_to_employee', "data" : {"getNew":getNew}, "type" : 'GET', "success" : function (html) { $.Dialog({ "title": "Сменить пользователя оборудования...", "draggable": true, ...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function dialogDeleteComponent(id) { $.ajax({ "url":'a_dialog_delete_component', "type":'GET', "data":{"id":id}, "success":function(htmlData) { //document.getElementById(...
JavaScript
function dialogComponentProperties() { var compId = document.getElementsByClassName('row_selected')[0].id; $.ajax({ "url":'a_component_properties', "data":{"componentId":compId}, "type":'GET', "success":function(htmlData) { $.Dialog({ "title": "Свойст...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function dialogChangeOffice() { var selectedRow = $('#component_table tr.row_selected')[0]; var id = selectedRow.id; if (!$(selectedRow).hasClass('deleted')) { $.ajax({...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function dialogNewComponent() { $.ajax({ "url":'a_new_component', "type":'GET', "success":function(htmlData) { $.Dialog({ "title": "Свойства оборудования", ...
JavaScript
$(document).ready(function(){ $('#tableOffice').dataTable({ "bFilter": false, "bInfo": false, "bServerSide": true, "sScrollY": "400px", "sAjaxSource": "./getOffice", "sServerMethod": "POST", "oLanguage": {"sUrl": "./resources/datatables.russian.txt"}...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function dialogNewUser(newUserId) { $.ajax({ "url":'a_register', "data":{"employeeId":newUserId}, "type":'GET', "success":function(htmlData) { $.Dialog({ ...
JavaScript
var ID_CURRENT_TYPE = -1; // Хранит в себе id выбранного Типа $(document).ready(function(){ // Добавляем скролл к таблице Типов $("#scrollTableType").scrollbar({ height: 500, axis: 'y' }); // Отрисовка таблицы Подтипов $('#tableSubType').dataTable({ "bPro...
JavaScript
function loadEditDialog(isEdit) { var url1 = ""; var emplID; if (isEdit) {//редактирование emplID = document.getElementsByClassName('row_selected')[0].id; url1 = "emplData?id=" + emplID; } else {//добавление emplID = 0; url1 = "emplData?id=" + emplID; } ...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function dialogSetRights() { var userId = document.getElementsByClassName('row_selected')[0].id; $.ajax({ "url": 'a_load_rights_dialog', "type": 'GET', "data": {"id":...
JavaScript
$(function(){ if (document.location.host.indexOf('.dev') > -1) return; var repo = "olton/Metro-UI-CSS"; $.ajax({ url: 'https://api.github.com/repos/' + repo, dataType: 'jsonp', error: function(result){ }, success: function(results){ var repo = results....
JavaScript
(function( $ ) { $.widget("metro.countdown", { version: "1.0.0", options: { style: { background: "bg-dark", foreground: "fg-white", divider: "fg-dark" }, blink: true, days: 1, stoptimer: 0, ...
JavaScript
(function( $ ) { $.widget("metro.treeview", { version: "1.0.0", options: { onNodeClick: function(node){}, onNodeCollapsed: function(node){}, onNodeExpanded: function(node){} }, _create: function(){ var that = this, element = this.ele...
JavaScript
var METRO_AUTO_REINIT; var METRO_LOCALE; var METRO_WEEK_START; var METRO_DIALOG = false;
JavaScript
(function( $ ) { $.widget("metro.times", { version: "1.0.0", options: { style: { background: "bg-dark", foreground: "fg-white", divider: "fg-dark" }, blink: true, alarm: { h: 0, ...
JavaScript
(function( $ ) { $.widget("metro.tabcontrol", { version: "1.0.0", options: { effect: 'none', activateStoredTab: false, tabclick: function(tab){}, tabchange: function(tab){} }, _create: function(){ var that = this, ...
JavaScript
(function( $ ) { $.widget("metro.scrollbar", { version: "1.0.0", options: { height: '100%', /* '100%'|int */ width: '100%', /* '100%'|int */ axis: ['x','y'], /* x|y|[x,y] */ wheel: 55 /* step in px */ //size: 'auto' /* 'auto...
JavaScript
(function( $ ) { $.widget("metro.livetile", { version: "1.0.0", options: { effect: 'slideLeft', period: 4000, duration: 700, easing: 'doubleSqrt' }, _frames: {}, _currentIndex: 0, _interval: 0, _outPosition: 0...
JavaScript
(function( $ ) { $.widget("metro.dragtile", { version: "1.0.0", options: { }, _create: function(){ var that = this, element = tile = this.element, area = element.parents('.tile-area'), tiles = area.find(".tile"), groups =...
JavaScript
(function($){ $.Metro = function(params){ params = $.extend({ }, params); }; $.Metro.getDeviceSize = function(){ var device_width = (window.innerWidth > 0) ? window.innerWidth : screen.width; var device_height = (window.innerHeight > 0) ? window.innerHeight : screen.height;...
JavaScript
(function($){ /* * Init or ReInit components * */ $.Metro.initAccordions = function(area){ if (area != undefined) { $(area).find('[data-role=accordion]').accordion(); } else { $('[data-role=accordion]').accordion(); } }; $.Metro.initButtonSets ...
JavaScript
(function( $ ) { $.widget("metro.wizard", { version: "1.0.0", options: { stepper: true, stepperType: 'default', locale: $.Metro.currentLocale, finishStep: 'default', buttons: { cancel: true, help: false, ...
JavaScript
(function( $ ) { $.widget("metro.tablecontrol", { version: "1.0.0", options: { width: '100%', height: 'auto', cls: 'table', checkRow: false, colModel: [], data: [] }, _create: function(){ var eleme...
JavaScript
(function( $ ) { $.widget("metro.panel", { version: "1.0.0", options: { onCollapse: function(){}, onExpand: function(){} }, _create: function(){ var element = this.element, o = this.options, header = element.children('.panel-head...
JavaScript
(function( $ ) { $.widget("metro.dropdown", { version: "1.0.1", options: { effect: 'slide', toggleElement: false }, _create: function(){ var that = this, menu = this.element, name = this.name, parent = ...
JavaScript
(function( $ ) { $.widget("metro.buttonset", { version: "1.0.0", options: { click: function(btn, on){} }, _buttons: {}, _create: function(){ var element = this.element; this._buttons = element.find("button, .button"); this...
JavaScript
(function( $ ) { $.widget("metro.pullmenu", { version: "1.0.0", options: { }, _create: function(){ var that = this, element = this.element; var menu = (element.data("relation") != undefined) ? element.data("relation") : element.parent().chi...
JavaScript
(function( $ ) { $.widget("metro.carousel", { version: "1.0.0", options: { auto: true, period: 2000, duration: 500, effect: 'slowdown', // slide, fade, switch, slowdown direction: 'left', markers: { show: true,...
JavaScript
var hasTouch = 'ontouchend' in window, eventTimer; var moveDirection = 'undefined', startX, startY, deltaX, deltaY, mouseDown = false function addTouchEvents(element){ if (hasTouch) { element.addEventListener("touchstart", touch2Mouse, true); element.addEventListener("touchmove", touch2Mouse, true)...
JavaScript
(function($){ $.Metro.currentLocale = 'en'; if (METRO_LOCALE != undefined) $.Metro.currentLocale = METRO_LOCALE; else $.Metro.currentLocale = 'en'; //console.log(METRO_LOCALE, $.Metro.currentLocale); $.Metro.Locale = { 'en': { months: [ "January", "February", "Marc...
JavaScript
(function( $ ) { $.widget("metro.fluentmenu", { version: "1.0.0", options: { onSpecialClick: function(e, el){}, onTabClick: function(e, el){} }, _create: function(){ var that = this, element = this.element, o = this.options, tabs...
JavaScript
var plugins = [ 'global', 'core', 'locale', 'touch-handler', 'accordion', 'button-set', 'date-format', 'calendar', 'datepicker', 'carousel', 'countdown', 'dropdown', 'input-control', 'live-tile', 'progressbar', 'rating', 'slider', 'tab-control', ...
JavaScript
(function( $ ) { $.widget("metro.tileTransform", { version: "1.0.0", options: { }, _create: function(){ var element = this.element; var dim = {w: element.width(), h: element.height()}; element.on('click', function(e){ // e.preven...
JavaScript
(function( $ ) { $.widget("metro.streamer", { version: "1.0.0", options: { scrollBar: false, meter: { start: 9, stop: 19, interval: 20 }, slideToGroup: 1, slideToTime: "10:20", s...
JavaScript
// Calendar (function( $ ) { $.widget("metro.calendar", { version: "1.0.0", options: { format: "yyyy-mm-dd", multiSelect: false, startMode: 'day', //year, month, day weekStart: (METRO_WEEK_START != undefined ? METRO_WEEK_START : 0), // 0 - Sunday, 1...
JavaScript
(function( $ ) { $.widget("metro.progressbar", { version: "1.0.1", options: { value: 0, color: "bg-cyan", animate: false, max: 100, onchange: function(val){} }, _create: function(){ var that = this, ele...
JavaScript
(function( $ ) { $.widget("metro.accordion", { version: "1.0.0", options: { closeAny: true, open: function(frame){}, action: function(frame){} }, _frames: {}, _create: function(){ var element = this.element; if ...
JavaScript
(function( $ ) { $.widget("metro.hint", { version: "1.0.0", options: { position: "bottom", background: '#FFFCC0', shadow: false, border: false, _hint: undefined }, _create: function(){ var that = this; ...
JavaScript
// DatePicker (function( $ ) { $.widget("metro.datepicker", { version: "1.0.0", options: { format: "dd.mm.yyyy", date: undefined, effect: 'none', position: 'bottom', locale: $.Metro.currentLocale, weekStart: (METRO_WEEK_START...
JavaScript
(function( $ ) { $.widget("metro.widget", { version: "1.0.0", options: { }, _create: function(){ }, _destroy: function(){ }, _setOption: function(key, value){ this._super('_setOption', key, value); } }) })( jQuery );
JavaScript
(function( $ ) { $.widget("metro.listview", { version: "1.0.0", options: { onGroupExpand: function(g){}, onGroupCollapse: function(g){}, onListClick: function(l){} }, _create: function(){ var that = this, element = this.element; ...
JavaScript
(function($) { var _notify_container = false; var _notifies = []; var Notify = { _container: null, _notify: null, _timer: null, options: { icon: '', // to be implemented caption: '', content: '', shadow: true, width: 'auto', height: 'auto', style: false, // {background: '', color: '...
JavaScript
(function( $ ) { $.widget("metro.rating", { version: "1.0.0", options: { score: 0, half: false, stars: 5, static: true, hints: ['bad', 'poor', 'regular', 'good', 'gorgeous'], showHint: false, showScore: false, ...
JavaScript
(function( $ ) { $.widget("metro.slider", { version: "1.0.2", options: { position: 0, accuracy: 0, color: 'default', completeColor: 'default', markerColor: 'default', colors: [], showHint: false, change...
JavaScript
(function( $ ) { $.widget("metro.inputControl", { version: "1.0.0", options: { }, _create: function(){ var that = this, control = this.element; if (control.hasClass('text')) { this.initTextInput(control, that); }...
JavaScript
(function( $ ) { $.widget("metro.stepper", { version: "1.0.0", options: { steps: 3, start: 1, onStep: function(index, step){} }, _create: function(){ var element = this.element, o = this.options; if (element.data('steps'...
JavaScript
/* * Date Format 1.2.3 * (c) 2007-2009 Steven Levithan <stevenlevithan.com> * MIT license * * Includes enhancements by Scott Trenda <scott.trenda.net> * and Kris Kowal <cixar.com/~kris.kowal/> * * Accepts a date, a mask, or a date and a mask. * Returns a formatted version of the given date. * The date default...
JavaScript
(function($) { if (METRO_DIALOG == undefined) { //var METRO_DIALOG = false; } $.Dialog = function(params) { if(!$.Dialog.opened) { $.Dialog.opened = true; } else { return METRO_DIALOG; } $.Dialog.settings = params; params = $.extend(...
JavaScript
$(function(){ $("[data-load]").each(function(){ $(this).load($(this).data("load"), function(){ }); }); window.prettyPrint && prettyPrint(); $(".history-back").on("click", function(e){ e.preventDefault(); history.back(); return false; }) }) function headerP...
JavaScript
if (document.location.host.indexOf('.dev') > -1) { //console.log('local'); } else { if (document.location.host.indexOf('metroui') > -1) { //document.write("<img src='http://c.hit.ua/hit?i=98055&g=0&x=2"+"&r="+encodeURI(document.referrer)+"&u="+encodeURI(window.location.href)+"' border='0' width='1' hei...
JavaScript
/*! Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. * Thanks to: Seamus Leahy for adding deltaX and delta...
JavaScript
/* Holder - 2.0 - client side image placeholders (c) 2012-2013 Ivan Malopinsky / http://imsky.co Provided under the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0 Commercial use requires attribution. */ var Holder = Holder || {}; (function (app, win) { var preempted = false, fallback = false, canva...
JavaScript
/* Copyright (C) 2011 Google Inc. 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 in writing, softwa...
JavaScript
(function($) { $.StartScreen = function(){ var plugin = this; plugin.init = function(){ setTilesAreaSize(); addMouseWheel(); }; var setTilesAreaSize = function(){ var groups = $(".tile-group"); var tileAreaWidth = 160; $.e...
JavaScript
$(function(){ if ((document.location.host.indexOf('.dev') > -1) || (document.location.host.indexOf('modernui') > -1) ) { $("<script/>").attr('src', 'js/metro/metro-loader.js').appendTo($('head')); } else { $("<script/>").attr('src', 'js/metro.min.js').appendTo($('head')); } })
JavaScript
'use strict'; var EditorState = { CLEAN:0, // NO CHANGES DIRTY:1, // UNSAVED CHANGES SAVE:2, // SAVE IN PROGRESS LOAD:3, // LOADING READONLY:4 }; google.load('picker', '1'); //gapi.load('drive-share'); angular.module('app', ['app.filters', 'app.services', 'app.directives']) .constant('saveInt...
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
/** * 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'; var directive = {}; directive.dropdownToggle = ['$document', '$location', '$window', function ($document, $location, $window) { var openElem...
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
/*! * 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 * * 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'; /** * @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 */ ( /** * @ngdoc interface * @name angular.Module * @description * * Interface for configuring angular {@link angular.module modules}. */ function setupModuleLoader(window) { function ensure(obj, name, fact...
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'; /** * @ngdoc overview * @name ngCookies */ angular.module('ngCookies', ['ng']). /** * @ngdoc object * @name ngCookies.$cookies * @requires $brows...
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, doc, aut...
JavaScript
'use strict'; /* Filters */ angular.module('app.filters', []) .filter('saveStateFormatter', function () { return function (state) { if (state == EditorState.DIRTY) { return 'You have unsaved changes'; } else if (state == EditorState.SAVE) { retur...
JavaScript
'use strict'; var module = angular.module('app.services', []); var ONE_HOUR_IN_MS = 1000 * 60 * 60; // Shared model for current document module.factory('doc', function ($rootScope) { var service = $rootScope.$new(true); service.dirty = false; service.lastSave = 0; service.timeSinc...
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
define('ace/mode/latex', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/latex_highlight_rules', 'ace/range'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode = require("./text").Mode; var Tokenizer = require("../tokenizer").Tokenizer; va...
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
"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
/* 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/ * * Softw...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * The Original Code is Ajax.org Code Editor (ACE). * * Contributor(s): * Jonathan Camile <jonathan.camile AT gmail DOT com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the...
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/ * * Softw...
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
/* ***** 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/ * * Softw...
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 ***** * The Original Code is Ajax.org Code Editor (ACE). * * Contributor(s): * Meg Sharkey <megshark AT gmail DOT com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser...
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/MP...
JavaScript
define('ace/mode/powershell', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/powershell_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var ...
JavaScript