From d8631c35eb92a6be9e8a6782ca0f2d4b18eade4e Mon Sep 17 00:00:00 2001 From: Nicholas L Date: Wed, 27 Jan 2016 20:36:10 +1300 Subject: [PATCH 1/2] Fix phantomjs --- Makefile | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e55f2334af..3e9fb34c42 100644 --- a/Makefile +++ b/Makefile @@ -181,7 +181,7 @@ build/timestamps/check-%-timestamp: $(BUILD_HOSTED)/examples/%.html \ $(BUILD_HOSTED)/build/ol.js \ $(BUILD_HOSTED)/css/ol.css @mkdir -p $(@D) - ./node_modules/.bin/phantomjs --ssl-protocol=any --ignore-ssl-errors=true bin/check-example.js $(addsuffix ?mode=advanced, $<) + ./node_modules/.bin/phantomjs --ssl-protocol=any --ignore-ssl-errors=true bin/check-example.js $< @touch $@ build/timestamps/check-requires-timestamp: $(SRC_JS) $(EXAMPLES_JS) \ diff --git a/package.json b/package.json index c497043617..d7ed8377c8 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "metalsmith-layouts": "1.4.2", "nomnom": "1.8.1", "pbf": "1.3.5", + "phantomjs": "^2.1.2", "pixelworks": "1.0.0", "rbush": "1.4.2", "temp": "0.8.3", From 73b6adba49fd4369f94749100de309cc2af62372 Mon Sep 17 00:00:00 2001 From: Nicholas L Date: Wed, 27 Jan 2016 21:52:50 +1300 Subject: [PATCH 2/2] Remove polyfill and incorrect dependency --- config/examples/example.html | 2 +- examples/geolocation-orientation.html | 1 - examples/mobile-full-screen.html | 1 - package.json | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/config/examples/example.html b/config/examples/example.html index 567b54ada0..dd568a12b7 100644 --- a/config/examples/example.html +++ b/config/examples/example.html @@ -11,7 +11,7 @@ {{{ extraHead.local }}} {{{ css.tag }}} - + {{ title }} diff --git a/examples/geolocation-orientation.html b/examples/geolocation-orientation.html index 4a6b5d433e..6cbd755a15 100644 --- a/examples/geolocation-orientation.html +++ b/examples/geolocation-orientation.html @@ -13,7 +13,6 @@ tags: "fullscreen, geolocation, orientation, mobile" - Mobile Geolocation Tracking with Orientation