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",