Skip to content

Commit

Permalink
updates to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbarela committed Apr 12, 2017
1 parent 91c258d commit c3b2f76
Show file tree
Hide file tree
Showing 17 changed files with 11,192 additions and 2,794 deletions.
12,091 changes: 9,973 additions & 2,118 deletions bundle/test.bundle.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/gp.js
Expand Up @@ -44317,7 +44317,6 @@ var TileCreator = require('./index').TileCreator

function CanvasTileCreator(width, height, tileMatrix, tileMatrixSet, tileBoundingBox, srs, projectionTo, canvas, callback) {
TileCreator.apply(this, arguments);

this.canvas = canvas || document.createElement('canvas');
this.canvas.width = width;
this.canvas.height = height;
Expand Down Expand Up @@ -44467,7 +44466,9 @@ var proj4 = require('proj4')
var TileBoundingBoxUtils = require('../tileBoundingBoxUtils');

module.exports.initialize = function(width, height, tileMatrix, tileMatrixSet, tileBoundingBox, srs, projectionTo, canvas, callback) {
if (typeof(process) !== 'undefined' && process.version) {
var isPhantom = !!(typeof window != 'undefined' && window.callPhantom && window._phantom);
var isNode = typeof(process) !== 'undefined' && process.version;
if (isNode && !isPhantom) {
var LwipTileCreator = require('./lwip');
new LwipTileCreator(width, height, tileMatrix, tileMatrixSet, tileBoundingBox, srs, projectionTo, callback);
} else {
Expand Down
7 changes: 1 addition & 6 deletions docs/index.html
Expand Up @@ -19,12 +19,7 @@
<meta property="og:type" content="website">

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-91277711-1', 'auto');
function ga() {};
ga('send', 'pageview');

</script>
Expand Down

0 comments on commit c3b2f76

Please sign in to comment.