From 238d6034c49f424761ccd597f862557f90a64d7d Mon Sep 17 00:00:00 2001 From: Fokke Zandbergen Date: Fri, 26 Sep 2014 11:17:45 +0200 Subject: [PATCH] Replacing Ti.Include with require Ti.Include is deprecated and will soon be removed. The `pubnub.js` library itself already supports the CommonJS interface. --- titanium/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titanium/README.md b/titanium/README.md index 66fdda9be..3a71d1723 100644 --- a/titanium/README.md +++ b/titanium/README.md @@ -15,7 +15,7 @@ https://vimeo.com/57166260 ### Init ```javascript -Ti.include('pubnub.js'); +PUBNUB = require('pubnub.js'); var pubnub = PUBNUB({ publish_key : 'demo',