From 3fa548ec844c1385de3e59ef00021ccc2aab27da Mon Sep 17 00:00:00 2001 From: Michael Jordan Date: Tue, 21 Jan 2014 18:34:55 -0500 Subject: [PATCH] Remove cordova.define() wrapper Per https://github.com/phonegap/phonegap-mobile-accessibility/pull/2#issuecomment-32664736, remove the cordova.define wrapper so that the plugin will install correctly with Plugman --- www/mobile-accessibility.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/mobile-accessibility.js b/www/mobile-accessibility.js index 37dcdef..27b1f96 100644 --- a/www/mobile-accessibility.js +++ b/www/mobile-accessibility.js @@ -1,4 +1,4 @@ -cordova.define("com.phonegap.plugin.mobile-accessibility.mobile-accessibility", function(require, exports, module) {/* +/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -164,6 +164,5 @@ MobileAccessibility.prototype._error = function(e) { }; var mobileAccessibility = new MobileAccessibility(); - + module.exports = mobileAccessibility; -});