code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
/**
* @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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/angular-1.0.0/angular-sanitize-1.0.0.js | JavaScript | asf20 | 17,350 |
/**
* @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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/angular-1.0.0/angular-loader-1.0.0.js | JavaScript | asf20 | 9,113 |
/**
* @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:
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/angular-1.0.0/jstd-scenario-adapter-1.0.0.js | JavaScript | asf20 | 5,784 |
/**
* @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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/angular-1.0.0/angular-cookies-1.0.0.js | JavaScript | asf20 | 4,842 |
'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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/controllers.js | JavaScript | asf20 | 2,458 |
'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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/filters.js | JavaScript | asf20 | 1,084 |
'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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/services.js | JavaScript | asf20 | 7,185 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-tomorrow_night_blue.js | JavaScript | asf20 | 5,404 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-cobalt.js | JavaScript | asf20 | 4,632 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-clouds.js | JavaScript | asf20 | 4,092 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-solarized_light.js | JavaScript | asf20 | 4,620 |
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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-latex.js | JavaScript | asf20 | 3,006 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-svg.js | JavaScript | asf20 | 58,305 |
"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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/worker-css.js | JavaScript | asf20 | 376,824 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-less.js | JavaScript | asf20 | 20,181 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-css.js | JavaScript | asf20 | 21,512 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-tomorrow.js | JavaScript | asf20 | 4,929 |
"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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/worker-coffee.js | JavaScript | asf20 | 323,787 |
/* 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://... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-markdown.js | JavaScript | asf20 | 83,322 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-scad.js | JavaScript | asf20 | 23,155 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-tomorrow_night.js | JavaScript | asf20 | 5,185 |
/* ***** 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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-sh.js | JavaScript | asf20 | 8,374 |
/* ***** 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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-pgsql.js | JavaScript | asf20 | 55,509 |
/* ***** 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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-php.js | JavaScript | asf20 | 146,063 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-pastel_on_dark.js | JavaScript | asf20 | 5,077 |
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;... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-java.js | JavaScript | asf20 | 44,561 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-coffee.js | JavaScript | asf20 | 16,016 |
/* ***** 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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-lua.js | JavaScript | asf20 | 17,222 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-json.js | JavaScript | asf20 | 18,705 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-vibrant_ink.js | JavaScript | asf20 | 4,715 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-dawn.js | JavaScript | asf20 | 4,639 |
/* ***** 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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-yaml.js | JavaScript | asf20 | 5,984 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-kr_theme.js | JavaScript | asf20 | 4,670 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-c9search.js | JavaScript | asf20 | 9,313 |
/* ***** 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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-diff.js | JavaScript | asf20 | 8,559 |
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 ... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-powershell.js | JavaScript | asf20 | 22,107 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/ace.js | JavaScript | asf20 | 533,732 |
"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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/worker-javascript.js | JavaScript | asf20 | 346,904 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-ruby.js | JavaScript | asf20 | 13,265 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-merbivore_soft.js | JavaScript | asf20 | 4,883 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-c_cpp.js | JavaScript | asf20 | 23,965 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-textile.js | JavaScript | asf20 | 5,745 |
define('ace/mode/scala', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/scala_highlight_rules'], function(require, exports, module) {
var oop = require("../lib/oop");
var JavaScriptMode = require("./javascript").Mode;
var Tokenizer = require("../tokenizer").Tokenize... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-scala.js | JavaScript | asf20 | 45,567 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-twilight.js | JavaScript | asf20 | 4,985 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-eclipse.js | JavaScript | asf20 | 4,097 |
define('ace/mode/csharp', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/csharp_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 TextMode... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-csharp.js | JavaScript | asf20 | 20,130 |
"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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/worker-json.js | JavaScript | asf20 | 94,563 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-perl.js | JavaScript | asf20 | 15,050 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-monokai.js | JavaScript | asf20 | 4,624 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-ocaml.js | JavaScript | asf20 | 23,775 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-html.js | JavaScript | asf20 | 73,313 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-tomorrow_night_eighties.js | JavaScript | asf20 | 5,494 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-merbivore.js | JavaScript | asf20 | 4,593 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-idle_fingers.js | JavaScript | asf20 | 4,686 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/keybinding-emacs.js | JavaScript | asf20 | 10,882 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-scss.js | JavaScript | asf20 | 20,972 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-chrome.js | JavaScript | asf20 | 5,094 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-liquid.js | JavaScript | asf20 | 47,556 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/keybinding-vim.js | JavaScript | asf20 | 50,851 |
define('ace/mode/groovy', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/groovy_highlight_rules'], function(require, exports, module) {
var oop = require("../lib/oop");
var JavaScriptMode = require("./javascript").Mode;
var Tokenizer = require("../tokenizer").Tokeni... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-groovy.js | JavaScript | asf20 | 45,720 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-textmate.js | JavaScript | asf20 | 5,139 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-dreamweaver.js | JavaScript | asf20 | 5,691 |
/* ***** 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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-sql.js | JavaScript | asf20 | 4,709 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-solarized_dark.js | JavaScript | asf20 | 4,606 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-crimson_editor.js | JavaScript | asf20 | 5,192 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-javascript.js | JavaScript | asf20 | 39,310 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-mono_industrial.js | JavaScript | asf20 | 5,084 |
define('ace/mode/golang', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/golang_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 T... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-golang.js | JavaScript | asf20 | 22,083 |
define('ace/mode/haxe', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/haxe_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 TextMode = r... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-haxe.js | JavaScript | asf20 | 19,934 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-tomorrow_night_bright.js | JavaScript | asf20 | 5,486 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-xquery.js | JavaScript | asf20 | 20,973 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/theme-clouds_midnight.js | JavaScript | asf20 | 4,404 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-xml.js | JavaScript | asf20 | 26,375 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-coldfusion.js | JavaScript | asf20 | 72,811 |
/* ***** 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... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-python.js | JavaScript | asf20 | 13,629 |
/* ***** 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/
*
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/ace/mode-clojure.js | JavaScript | asf20 | 15,408 |
'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',
functi... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Scripts/directives.js | JavaScript | asf20 | 1,774 |
@{
Layout = "~/Views/Shared/_Layout.cshtml";
} | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Views/_ViewStart.cshtml | HTML+Razor | asf20 | 55 |
@{
ViewBag.Title = "Index";
}
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Views/Drive/Index.cshtml | HTML+Razor | asf20 | 869 |
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title>Error</title>
</head>
<body>
<h2>
Sorry, an error occurred while processing your request.
</h2>
</body>
</html> | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Views/Shared/Error.cshtml | HTML+Razor | asf20 | 210 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/css/bootstrap.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/css/font-awesome.css")" rel="stylesheet" type="text/css" />
<link href="@Url.C... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Views/Shared/_Layout.cshtml | HTML+Razor | asf20 | 1,335 |
/*
* Copyright (c) 2012 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 agre... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Global.asax.cs | C# | asf20 | 2,666 |
/*
* Copyright (c) 2012 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 agre... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Properties/AssemblyInfo.cs | C# | asf20 | 1,982 |
/*
* Copyright (c) 2012 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 agre... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Controllers/userController.cs | C# | asf20 | 1,413 |
/*
* Copyright (c) 2012 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 agre... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Controllers/DriveController.cs | C# | asf20 | 2,643 |
/*
* Copyright (c) 2012 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 agre... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Controllers/svcController.cs | C# | asf20 | 3,429 |
/*
* Copyright (c) 2012 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 agre... | zzangtest123-google-drive-sdk-samples | dotnet/DrEdit/Controllers/aboutController.cs | C# | asf20 | 1,507 |
#!/usr/bin/python
#
# Copyright (C) 2012 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 ... | zzangtest123-google-drive-sdk-samples | python/utils.py | Python | asf20 | 8,523 |
'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... | zzangtest123-google-drive-sdk-samples | python/static/js/app.js | JavaScript | asf20 | 638 |
'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... | zzangtest123-google-drive-sdk-samples | python/static/js/controllers.js | JavaScript | asf20 | 2,458 |
'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... | zzangtest123-google-drive-sdk-samples | python/static/js/filters.js | JavaScript | asf20 | 1,084 |
'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... | zzangtest123-google-drive-sdk-samples | python/static/js/services.js | JavaScript | asf20 | 7,161 |
'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',
functi... | zzangtest123-google-drive-sdk-samples | python/static/js/directives.js | JavaScript | asf20 | 1,774 |
<div class="container-fluid">
<div id="doc-bar" class="row-fluid">
<span class="span4">
<h3 ng-show="doc.info.editable" class="doc-title"
data-toggle="modal" href="#rename-dialog">{{doc.info.title}}</h3>
<h3 ng-hide="doc.info.editable" class="doc-title">{{doc.info.title}}</h3>
... | zzangtest123-google-drive-sdk-samples | python/static/partials/editor.html | HTML | asf20 | 2,381 |
/* app css stylesheet */
#editor {
position: absolute;
top: 120px;
bottom: 0px;
left: 0px;
right: 0px;
}
#doc-bar {
line-height: 27px;
}
.doc-title {
display:inline;
padding-right: 12px;
}
.star {
font-size: 22px;
color: black;
}
.icon-star {
color: yellow;
-webkit-text-stroke: 1px black;
}
.pro... | zzangtest123-google-drive-sdk-samples | python/static/css/app.css | CSS | asf20 | 792 |
/**
* @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',
... | zzangtest123-google-drive-sdk-samples | python/static/lib/angular-1.0.0/angular-bootstrap-prettify-1.0.0.js | JavaScript | asf20 | 67,929 |
/**
* Configuration for jstd scenario adapter
*/
var jstdScenarioAdapter = {
relativeUrlPrefix: '/build/docs/'
};
| zzangtest123-google-drive-sdk-samples | python/static/lib/angular-1.0.0/jstd-scenario-adapter-config-1.0.0.js | JavaScript | asf20 | 120 |
/**
* @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... | zzangtest123-google-drive-sdk-samples | python/static/lib/angular-1.0.0/angular-bootstrap-1.0.0.js | JavaScript | asf20 | 4,516 |
/**
* @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... | zzangtest123-google-drive-sdk-samples | python/static/lib/angular-1.0.0/angular-resource-1.0.0.js | JavaScript | asf20 | 15,889 |
/**
* @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... | zzangtest123-google-drive-sdk-samples | python/static/lib/angular-1.0.0/angular-1.0.0.js | JavaScript | asf20 | 473,115 |