Fixed import header for CDVDebugWebView (for framework and sub-project projects)
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/0b2f98c8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/0b2f98c8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/0b2f98c8 Branch: refs/heads/master Commit: 0b2f98c824c304c08ed46c56fdfef4cad962eee3 Parents: f51e833 Author: Shazron Abdullah <shaz...@apache.org> Authored: Tue May 1 00:25:49 2012 -0700 Committer: Shazron Abdullah <shaz...@apache.org> Committed: Tue May 1 00:25:49 2012 -0700 ---------------------------------------------------------------------- CordovaLib/Classes/debugview/CDVDebugWebView.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b2f98c8/CordovaLib/Classes/debugview/CDVDebugWebView.h ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/debugview/CDVDebugWebView.h b/CordovaLib/Classes/debugview/CDVDebugWebView.h index 232d320..2ff720c 100644 --- a/CordovaLib/Classes/debugview/CDVDebugWebView.h +++ b/CordovaLib/Classes/debugview/CDVDebugWebView.h @@ -17,7 +17,12 @@ under the License. */ +#ifdef CORDOVA_FRAMEWORK +#import <Cordova/CDVCordovaView.h> +#else #import "CDVCordovaView.h" +#endif + // http://opensource.apple.com/source/WebKit/WebKit-6531.9/mac/WebView/WebScriptDebugDelegate.h #import "WebScriptDebugDelegate.h"