mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-08 09:12:05 +08:00
Updates from Fri 3 Apr
- Update deps order - core modules first | Amjad Masad - [ReactNative] Workaround double cmd+r bug | Christopher Chedeau - [react-native] Nicer error for undefined or string tag names | Ben Alpert - [ReactNative] Fix script load from local files | Tadeu Zagallo - [react_native] JS files from D1961099: Format stack trace on native side | Alex Kotliarskyi - [ReactNative] Cleanup TabBar and its example | Christopher Chedeau - [ReactNative] Allow recover from debugger error | Tadeu Zagallo - [react-native] Update react to 0.13.1, jstransform alongside | Ben Alpert - Fixed tap-to-zoom in Groups photo viewer | Sumeet Vaidya - Fix hitTest for auto | Tadeu Zagallo - [ReactNative] Unfork RKRootView | Tadeu Zagallo - [react-packager] Ignore dotfiles in file watching | Amjad Masad
This commit is contained in:
22
React/Base/RCTJavaScriptLoader.h
Executable file
22
React/Base/RCTJavaScriptLoader.h
Executable file
@@ -0,0 +1,22 @@
|
||||
// Copyright 2004-present Facebook. All Rights Reserved.
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "RCTJavaScriptExecutor.h"
|
||||
|
||||
@class RCTBridge;
|
||||
|
||||
/**
|
||||
* Class that allows easy embedding, loading, life-cycle management of a
|
||||
* JavaScript application inside of a native application.
|
||||
* TODO: Before loading new application source, publish global notification in
|
||||
* JavaScript so that applications can clean up resources. (launch blocker).
|
||||
* TODO: Incremental module loading. (low pri).
|
||||
*/
|
||||
@interface RCTJavaScriptLoader : NSObject
|
||||
|
||||
- (instancetype)initWithBridge:(RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
|
||||
|
||||
- (void)loadBundleAtURL:(NSURL *)moduleURL onComplete:(RCTJavaScriptCompleteBlock)onComplete;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user