Skip to content

Commit 690250f

Browse files
Initial commit
0 parents  commit 690250f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+83021
-0
lines changed

.gitignore

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
project.xcworkspace
24+
25+
# Android/IJ
26+
#
27+
*.iml
28+
.idea
29+
.gradle
30+
local.properties
31+
32+
# node.js
33+
#
34+
node_modules/
35+
npm-debug.log
36+
37+
# BUCK
38+
buck-out/
39+
\.buckd/
40+
android/app/libs
41+
android/keystores/debug.keystore
42+
.vs
43+
out
44+
obj
45+
bin
46+
typings

.vscode/.react/debuggerWorker.js

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*/
9+
/* global __fbBatchedBridge, self, importScripts, postMessage, onmessage: true */
10+
/* eslint no-unused-vars: 0 */
11+
'use strict';
12+
13+
var messageHandlers = {
14+
'executeApplicationScript': function(message, sendReply) {
15+
for (var key in message.inject) {
16+
self[key] = JSON.parse(message.inject[key]);
17+
}
18+
importScripts(message.url);
19+
sendReply();
20+
}
21+
};
22+
23+
onmessage = function(message) {
24+
var object = message.data;
25+
26+
var sendReply = function(result) {
27+
postMessage({replyID: object.id, result: result});
28+
};
29+
30+
var handler = messageHandlers[object.method];
31+
if (handler) {
32+
// Special cased handlers
33+
handler(object, sendReply);
34+
} else {
35+
// Other methods get called on the bridge
36+
var returnValue = [[], [], [], 0];
37+
try {
38+
if (typeof __fbBatchedBridge === 'object') {
39+
returnValue = __fbBatchedBridge[object.method].apply(null, object.arguments);
40+
}
41+
} finally {
42+
sendReply(JSON.stringify(returnValue));
43+
}
44+
}
45+
};

0 commit comments

Comments
 (0)