Remove externs/jspdf.js and add NOCOMPILE to examples/export-pdf.js

This commit is contained in:
Frederic Junod
2016-04-13 09:00:02 +02:00
parent 936d38ca6f
commit 044f6638ea
3 changed files with 1 additions and 47 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) {};