From c4ddd2c37e58e61ac1bc4ca72f377a2384928684 Mon Sep 17 00:00:00 2001 From: Artem Yarulin Date: Sun, 26 Apr 2015 15:46:30 +0300 Subject: [PATCH] Fixed JS file so that it will be included by ReactNative --- package.json | 2 +- react-native-eval/RNMEvaluator.js | 5 +++++ .../react-native-eval.xcodeproj/project.pbxproj | 2 -- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ed337d4..0d3f9f5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type" : "git", "url" : "https://github.com/artemyarulin/react-native-eval" }, - "version": "0.0.2", + "version": "0.0.3", "description": "Call any JS functions from your native code", "main": "react-native-eval/RNMEvaluator.js", "author": "Artem Yarulin ", diff --git a/react-native-eval/RNMEvaluator.js b/react-native-eval/RNMEvaluator.js index efd7949..d219ef3 100644 --- a/react-native-eval/RNMEvaluator.js +++ b/react-native-eval/RNMEvaluator.js @@ -1,3 +1,8 @@ +/** + * + * @providesModule RNMEvaluator + * @flow + */ 'use strict'; var DeviceEventEmitter = require('RCTDeviceEventEmitter'), diff --git a/react-native-eval/react-native-eval.xcodeproj/project.pbxproj b/react-native-eval/react-native-eval.xcodeproj/project.pbxproj index 8ac5536..4ae062e 100644 --- a/react-native-eval/react-native-eval.xcodeproj/project.pbxproj +++ b/react-native-eval/react-native-eval.xcodeproj/project.pbxproj @@ -24,7 +24,6 @@ /* Begin PBXFileReference section */ 9689ED5D1AECD6710031F25C /* RNMEvaluator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNMEvaluator.h; sourceTree = ""; }; - 9689ED5E1AECD6710031F25C /* RNMEvaluator.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = RNMEvaluator.js; sourceTree = ""; }; 9689ED5F1AECD6710031F25C /* RNMEvaluator.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNMEvaluator.m; sourceTree = ""; }; 9689EDFB1AECE5470031F25C /* libreact-native-eval.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libreact-native-eval.a"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -44,7 +43,6 @@ isa = PBXGroup; children = ( 9689ED5D1AECD6710031F25C /* RNMEvaluator.h */, - 9689ED5E1AECD6710031F25C /* RNMEvaluator.js */, 9689ED5F1AECD6710031F25C /* RNMEvaluator.m */, 9689EDFC1AECE5470031F25C /* Products */, );