Merge pull request #5220 from fredj/externs_cleanup

Externs cleanup
This commit is contained in:
Frédéric Junod
2016-04-13 17:15:32 +02:00
4 changed files with 1 additions and 145 deletions

View File

@@ -18,7 +18,6 @@
"externs/esrijson.js",
"externs/example.js",
"externs/geojson.js",
"externs/jspdf.js",
"externs/jquery-1.9.js",
"externs/proj4js.js",
"externs/tilejson.js",

View File

@@ -1,3 +1,4 @@
// NOCOMPILE
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.control');

View File

@@ -1,46 +0,0 @@
/**
* @fileoverview jsPDF PDF generator.
* @see https://github.com/MrRio/jsPDF
*/
/**
* @constructor
* @param {string=} orientation One of `portrait` or `landscape`
* (or shortcuts `p` (default), `l`).
* @param {string=} unit Measurement unit to be used when coordinates are specified.
* One of `pt`, `mm` (default), `cm`, `in`.
* @param {string=} format Default: `a4`.
* @param {boolean=} compressPdf
*/
var jsPDF = function(orientation, unit, format, compressPdf) {};
/**
* @param {string} imageData
* @param {string} format
* @param {number} x
* @param {number} y
* @param {number} w
* @param {number} h
* @param {string=} alias
* @param {number=} compression
* @return {jsPDF}
*/
jsPDF.prototype.addImage = function(imageData, format, x, y, w, h, alias, compression) {};
/**
* @return {jsPDF}
*/
jsPDF.prototype.autoPrint = function() {};
/**
* @param {string} type
* @param {Object=} options
* @return {jsPDF}
*/
jsPDF.prototype.output = function(type, options) {};
/**
* @param {string} filename
* @return {jsPDF}
*/
jsPDF.prototype.save = function(filename) {};

View File

@@ -1,98 +0,0 @@
/**
* @externs
* @see http://www.khronos.org/webgl/wiki/Debugging
* @see http://www.khronos.org/webgl/wiki/HandlingContextLost
*/
/**
* @constructor
* @extends {WebGLRenderingContext}
*/
var WebGLDebugRenderingContext = function() {};
/**
* @constructor
* @extends {HTMLCanvasElement}
*/
var WebGLDebugLostContextSimulatingCanvas = function() {};
/**
* @nosideeffects
* @return {number}
*/
WebGLDebugLostContextSimulatingCanvas.prototype.getNumCalls = function() {};
/**
*/
WebGLDebugLostContextSimulatingCanvas.prototype.loseContext = function() {};
/**
* @param {number} numCalls
*/
WebGLDebugLostContextSimulatingCanvas.prototype.loseContextInNCalls =
function(numCalls) {};
/**
*/
WebGLDebugLostContextSimulatingCanvas.prototype.restoreContext = function() {};
/**
* @param {number} timeout
*/
WebGLDebugLostContextSimulatingCanvas.prototype.setRestoreTimeout =
function(timeout) {};
/**
* @type {Object}
*/
var WebGLDebugUtils = {};
/**
* @nosideeffects
* @param {number} value
* @return {string}
*/
WebGLDebugUtils.glEnumToString = function(value) {};
/**
* @nosideeffects
* @param {string} functionName
* @param {Array} args Args.
* @return {string} String.
*/
WebGLDebugUtils.glFunctionArgsToString = function(functionName, args) {};
/**
* @param {WebGLRenderingContext} ctx
*/
WebGLDebugUtils.init = function(ctx) {};
/**
* @param {HTMLCanvasElement} canvas
* @return {WebGLDebugLostContextSimulatingCanvas}
*/
WebGLDebugUtils.makeLostContextSimulatingCanvas = function(canvas) {};
/**
* @param {WebGLRenderingContext} context
* @param {Function=} opt_onErrorFunc
* @param {Function=} opt_onFunc
* @return {WebGLDebugRenderingContext}
*/
WebGLDebugUtils.makeDebugContext =
function(context, opt_onErrorFunc, opt_onFunc) {};