From e76ad61ebe0c1478a6760b9f2813e32e0154e7e1 Mon Sep 17 00:00:00 2001 From: John Doherty Date: Sat, 18 Feb 2017 12:36:30 +0000 Subject: [PATCH] updated docs --- README.MD | 2 +- example/server.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.MD b/README.MD index 58c3eef..23dc6e6 100755 --- a/README.MD +++ b/README.MD @@ -97,4 +97,4 @@ This project is a rethought, rebranded, relaunched version of my badly named [ex ## License -Licensed under [ISC License](LICENSE) © [John Doherty](https://twitter.com/CambridgeMVP) \ No newline at end of file +Licensed under [ISC License](LICENSE) © [John Doherty](http://www.johndoherty.info) \ No newline at end of file diff --git a/example/server.js b/example/server.js index 9d01c84..4880cb5 100755 --- a/example/server.js +++ b/example/server.js @@ -19,11 +19,11 @@ function Server() { app.set('view engine', 'hbs'); // create simple route to test our fake news - app.get('/', function(req, res){ + app.get('/', function(req, res) { // respond to this request with our fake-new content embedded within the BBC News home page res.merge('fake-news', { - sourceUrl: 'https://www.facebook.com', //http://www.bbc.co.uk/news', // external url to fetch + sourceUrl: 'http://www.bbc.co.uk/news', // external url to fetch sourcePlaceholder: 'div[data-entityid="container-top-stories#1"]' // css selector to inject our content into }); }); diff --git a/package.json b/package.json index 8d8f22f..f4cfe3f 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-iframe-replacement", - "version": "0.1.0", + "version": "0.1.1", "description": "NodeJS + Express replacement for the HTML iframe", "main": "index.js", "scripts": {