From dfc85a86a33b86cdb9f8dc6c8bd9d4445fda91be Mon Sep 17 00:00:00 2001 From: Daniel Brain Date: Tue, 10 Jan 2017 14:04:36 -0800 Subject: [PATCH] Add registerSelf noop for backwards compatibility --- src/global.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/global.js b/src/global.js index 5b3263ea..2e3a502c 100644 --- a/src/global.js +++ b/src/global.js @@ -5,3 +5,9 @@ import { cleanup } from './lib/cleanup'; export let global = window[CONSTANTS.WINDOW_PROPS.POSTROBOT] = window[CONSTANTS.WINDOW_PROPS.POSTROBOT] || {}; global.clean = global.clean || cleanup(global); + +// Backwards compatibility + +global.registerSelf = () => { + // pass +}; \ No newline at end of file