Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
react-native-geek-image-editor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huanglu
react-native-geek-image-editor
Commits
6107630a
Commit
6107630a
authored
Mar 23, 2020
by
hl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9b9de9b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.js
index.js
+3
-3
No files found.
index.js
View file @
6107630a
...
@@ -4,7 +4,7 @@ import { NativeModules, Platform, NativeEventEmitter } from 'react-native';
...
@@ -4,7 +4,7 @@ import { NativeModules, Platform, NativeEventEmitter } from 'react-native';
const
{
RNGeekImageEditor
,
ReactNativeSending
}
=
NativeModules
;
const
{
RNGeekImageEditor
,
ReactNativeSending
}
=
NativeModules
;
const
{
edit
:
_
edit
}
=
RNGeekImageEditor
// const {
edit } = RNGeekImageEditor
function
edit
(
json
,
callback
)
{
function
edit
(
json
,
callback
)
{
if
(
Platform
.
OS
===
'android'
)
{
if
(
Platform
.
OS
===
'android'
)
{
...
@@ -23,9 +23,9 @@ function edit(json, callback) {
...
@@ -23,9 +23,9 @@ function edit(json, callback) {
console
.
log
(
err
)
console
.
log
(
err
)
}
}
});
});
_
edit
(
json
)
RNGeekImageEditor
.
edit
(
json
)
}
else
{
}
else
{
_edit
(
json
,
callback
)
//
_edit(json, callback)
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment