code
stringlengths
1
2.08M
language
stringclasses
1 value
/** * @constructor */ Sk.builtin.module = function() { }; goog.exportSymbol("Sk.builtin.module", Sk.builtin.module); Sk.builtin.module.prototype.ob$type = Sk.builtin.type.makeIntoTypeObj('module', Sk.builtin.module); Sk.builtin.module.prototype.tp$getattr = Sk.builtin.object.prototype.GenericGetAttr; Sk.builtin.modu...
JavaScript
// this is stored into sys specially, rather than created by sys Sk.sysmodules = new Sk.builtin.dict([]); Sk.realsyspath = undefined; /** * @param {string} name to look for * @param {string} ext extension to use (.py or .js) * @param {boolean=} failok will throw if not true */ Sk.importSearchPathForName = function...
JavaScript
// long aka "bigint" implementation // // the representation used is similar to python 2.6's: // // - each 'digit' of the long is 15 bits, which gives enough space in each to // perform a multiplication without losing precision in the mantissa of // javascript's number representation (a double). // // - the numbers are...
JavaScript
// // This is pretty much a straight port of ast.c from CPython 2.6.5. // // The previous version was easier to work with and more JS-ish, but having a // somewhat different ast structure than cpython makes testing more difficult. // // This way, we can use a dump from the ast module on any arbitrary python // code and...
JavaScript
/** * Base namespace for Skulpt. This is the only symbol that Skulpt adds to the * global namespace. Other user accessible symbols are noted and described * below. */ var Sk = Sk || {}; /** * * Set various customizable parts of Skulpt. * * output: Replacable output redirection (called from print, etc.). * re...
JavaScript
/** * @constructor * @param {...*} args */ Sk.builtin.Exception = function(args) { var args = Array.prototype.slice.call(arguments); // hackage to allow shorter throws for (var i = 0; i < args.length; ++i) { if (typeof args[i] === "string") args[i] = new Sk.builtin.str(args[i]); ...
JavaScript
// builtins are supposed to come from the __builtin__ module, but we don't do // that yet. Sk.builtin = {}; // todo; these should all be func objects too, otherwise str() of them won't // work, etc. Sk.builtin.range = function(start, stop, step) { var ret = []; var s = new Sk.builtin.slice(start, stop, step);...
JavaScript
Sk.abstr = {}; // // // // // Number // // // // Sk.abstr.binop_type_error = function(v, w, name) { throw new TypeError("unsupported operand type(s) for " + name + ": '" + v.tp$name + "' and '" + w.tp$name + "'"); }; // this can't be a table for closure Sk.abstr.boNameToSlotFunc_ = function(obj, name...
JavaScript
/** * @constructor * @param {Array.<Object>} L */ Sk.builtin.dict = function dict(L) { if (!(this instanceof Sk.builtin.dict)) return new Sk.builtin.dict(L); this.size = 0; for (var i = 0; i < L.length; i += 2) { this.mp$ass_subscript(L[i], L[i+1]); } this.__class__ = Sk.builtin.di...
JavaScript
/** * @constructor * @param {number} start * @param {number=} stop * @param {null|number=} step */ Sk.builtin.slice = function slice(start, stop, step) { if (!(this instanceof Sk.builtin.slice)) return new Sk.builtin.slice(start, stop, step); if (stop === undefined && step === undefined) { sto...
JavaScript
/** * py sort is guaranteed to be stable, js's is not (and isn't in some * browsers). we also have to do cmp/key/rev anyway, so this is a simple * mergesort implementation to handle sorting for list (and other stuff * eventually). * * @param {Array.<Object>} arr * @param {Sk.builtin.func} cmp * @param {Sk.built...
JavaScript
/** @param {...*} x */ var out; /** * @constructor * @param {string} filename * @param {SymbolTable} st * @param {number} flags * @param {string=} sourceCodeForAnnotation used to add original source to listing if desired */ function Compiler(filename, st, flags, sourceCodeForAnnotation) { this.filename = fil...
JavaScript
/** * * @constructor * * @param {*} name name or object to get type of, if only one arg * * @param {Array.<Object>=} bases * * @param {Object=} dict * * * This type represents the type of `type'. *Calling* an instance of * this builtin type named "type" creates class objects. The resulting * class objects ...
JavaScript
// Note: the hacky names on int, long, float have to correspond with the // uniquization that the compiler does for words that are reserved in // Javascript. This is a bit hokey. Sk.builtins = { 'range': Sk.builtin.range, 'len': Sk.builtin.len, 'min': Sk.builtin.min, 'max': Sk.builtin.max, 'abs': Sk.builtin.abs, 'ord':...
JavaScript
Sk.ffi = Sk.ffi || {}; /** * maps from Javascript Object/Array/string to Python dict/list/str. * * only works on basic objects that are being used as storage, doesn't handle * functions, etc. */ Sk.ffi.remapToPy = function(obj) { if (Object.prototype.toString.call(obj) === "[object Array]") { var ...
JavaScript
/** * @constructor * @param {Array.<Object>|Object} L */ Sk.builtin.tuple = function(L) { if (L instanceof Sk.builtin.tuple) return; if (!(this instanceof Sk.builtin.tuple)) return new Sk.builtin.tuple(L); if (Object.prototype.toString.apply(L) === '[object Array]') this.v = L; else t...
JavaScript
Sk.builtin.int_ = function(x, base) { if (x instanceof Sk.builtin.str) { // todo; this should handle longs too if (base === undefined) base = 10; // default radix is 10, not dwim return parseInt(x.v, base); } // sneaky way to do truncate, floor doesn't work < 0, round doesn't wor...
JavaScript
/* * This is a port of tokenize.py by Ka-Ping Yee. * * each call to readline should return one line of input as a string, or * undefined if it's finished. * * callback is called for each token with 5 args: * 1. the token type * 2. the token string * 3. [ start_row, start_col ] * 4. [ end_row, end_col ] * 5. ...
JavaScript
/* Flags for def-use information */ var DEF_GLOBAL = 1; /* global stmt */ var DEF_LOCAL = 2; /* assignment in code block */ var DEF_PARAM = 2<<1; /* formal parameter */ var USE = 2<<2; /* name is used */ var DEF_STAR = 2<<3; /* parameter is star arg */ var DEF_DOUBLE...
JavaScript
/** * @constructor */ Sk.builtin.object = function() { if (!(this instanceof Sk.builtin.object)) return new Sk.builtin.object(); this['$d'] = new Sk.builtin.dict([]); return this; }; Sk.builtin.object.prototype.GenericGetAttr = function(name) { goog.asserts.assert(typeof name === "string"); var ...
JavaScript
/** * @constructor * * co_varnames and co_name come from generated code, must access as dict. */ Sk.builtin.method = function(func, self) { this.im_func = func; this.im_self = self; //print("constructing method", this.im_func.tp$name, this.im_self.tp$name); }; goog.exportSymbol("Sk.builtin.method", Sk.b...
JavaScript
Sk.builtin.float_ = function(x) { if (x instanceof Sk.builtin.str) { if (x.v === "inf") return Infinity; if (x.v === "-inf") return -Infinity; return parseFloat(x.v); } return x; }; Sk.builtin.float_.prototype.tp$name = "float"; Sk.builtin.float_.prototype.ob$type = Sk.builtin.t...
JavaScript
var interned = {}; /** * @constructor * @param {*} x * @extends Sk.builtin.object */ Sk.builtin.str = function(x) { if (x === undefined) throw "error: trying to str() undefined (should be at least null)"; if (x instanceof Sk.builtin.str && x !== Sk.builtin.str.prototype.ob$type) return x; if (!(this in...
JavaScript
/** * @constructor * @param {Array.<Object>} S */ Sk.builtin.set = function(S) { if (!(this instanceof Sk.builtin.set)) return new Sk.builtin.set(S); if (typeof(S) === 'undefined') { S = []; } this.set_reset_(); S = new Sk.builtin.list(S); // python sorts sets on init, but not t...
JavaScript
Sk.misceval = {}; Sk.misceval.isIndex = function(o) { return o === null || typeof o === "number" || o.constructor === Sk.builtin.lng || o.tp$index; }; goog.exportSymbol("Sk.misceval.isIndex", Sk.misceval.isIndex); Sk.misceval.asIndex = function(o) { if (!Sk.misceval.isIndex(o)) return undefined; if (o ===...
JavaScript
// most of this file is from/based on 'tdl' var $builtinmodule = function(name) { var mod = {}; var Buffer = function(array, opt_target) { var target = opt_target || gl.ARRAY_BUFFER; var buf = gl.createBuffer(); this.target = target; this.buf = buf; this.set(array); ...
JavaScript
// most of this file is from 'tdl' var $builtinmodule = function(name) { var mod = {}; /** * AttribBuffer manages a TypedArray as an array of vectors. * * @param {number} numComponents Number of components per * vector. * @param {number|!Array.<number>} numElements Number of vec...
JavaScript
var $builtinmodule = function(name) { var mod = {}; // todo; should probably put this in a math package mod.Mat44 = Sk.misceval.buildClass(mod, function($gbl, $loc) { $loc.__init__ = new Sk.builtin.func(function(self) { Sk.misceval.cal...
JavaScript
var $builtinmodule = function(name) { var mod = {}; // todo; won't work compressed mod.tp$name = "webgl"; // // Setup code taken from 'tdl'. I tried to use more of it, but it's a bit // broken. // var makeFailHTML = function(msg) { return '' + '<table style="backgro...
JavaScript
// more from 'tdl' var $builtinmodule = function(name) { var mod = {}; var temp0v3_ = new Float32Array(3); var temp1v3_ = new Float32Array(3); var temp2v3_ = new Float32Array(3); var temp0v4_ = new Float32Array(4); var temp1v4_ = new Float32Array(4); var temp2v4_ = new Float32Array(4); ...
JavaScript
var $builtinmodule = function(name) { goog.require('goog.graphics'); var mod = {}; mod.createGraphics = new Sk.builtin.func(function(width, height, opt_coordWidth, opt_coordHeight, opt_domHelper) { return new Sk.ffi.stdwrap(mod.AbstractGraphics, goog.graphics.createGraphics(wid...
JavaScript
var $builtinmodule = function(name) { goog.require('goog.math'); // todo; need to convert long -> number // not super useful since it'll go double in JS and // then lose precision and generally kind of suck. var mod = {}; mod.randomInt = new Sk.builtin.func(function(a) ...
JavaScript
var $builtinmodule = function(name) { // todo; is this ok inside the module function when in browser? goog.require('goog.json'); var mod = {}; mod.parse = new Sk.builtin.func(function(s) { return Sk.ffi.remapToPy(goog.json.parse(s.v)); }); mod.unsafeParse =...
JavaScript
var $builtinmodule = function(name) { goog.require('goog.dom'); var mod = {}; mod.getElement = new Sk.builtin.func(function(element) { // todo; need to wrap this with something. Element is a // browser builtin type though, not a Closure one. ...
JavaScript
var $builtinmodule = function(name) { goog.require('goog.ui.Component'); var mod = {}; mod.Component = Sk.misceval.buildClass(mod, function($gbl, $loc) { $loc.__init__ = new Sk.builtin.func(function(self, opt_domHelper) { self.v = new...
JavaScript
var $builtinmodule = function(name) { var sys = {}; var args = []; var argv = Sk.getSysArgv(); for (var i = 0; i < argv.length; ++i) args.push(new Sk.builtin.str(argv[i])); sys.argv = new Sk.builtins['list'](args); sys.copyright = Sk.builtin['str']("Copyright 2009-2010 Scott Graham.\nA...
JavaScript
/** * @constructor * @param {Array.<Object>} L * @extends Sk.builtin.object */ Sk.builtin.list = function(L) { if (!(this instanceof Sk.builtin.list)) return new Sk.builtin.list(L); if (Object.prototype.toString.apply(L) === '[object Array]') { this.v = L; } else { if (L.tp$...
JavaScript
/*extern JSLINT */ /*jslint rhino: true*/ (function (a) { if (!a[0]) { print("Usage: jslint.js file.js"); quit(1); } var input = read(a[0]); if (!input) { print("jslint: Couldn't open file '" + a[0] + "'."); quit(1); } if (!JSLINT(input, {bitwise: false, eqeqeq: ...
JavaScript
// jslint.js // 2009-08-01 /* Copyright (c) 2002 Douglas Crockford (www.JSLint.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights t...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2009 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2009 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2010 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2009 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2009 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2009 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2009 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2005 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
JavaScript