mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-30 05:31:01 +00:00
fix lint warnings.
This commit is contained in:
+2
-3
@@ -13,7 +13,6 @@ import {
|
||||
} from 'react-native';
|
||||
import ViewBox from './ViewBox';
|
||||
import _ from 'lodash';
|
||||
import createReactNativeComponentClass from 'react/lib/createReactNativeComponentClass';
|
||||
const RNSVGSvgViewManager = NativeModules.RNSVGSvgViewManager;
|
||||
|
||||
// Svg - Root node of all Svg elements
|
||||
@@ -73,8 +72,8 @@ class Svg extends Component{
|
||||
};
|
||||
|
||||
_onDataURL = (e) => {
|
||||
let callback;
|
||||
while (callback = this.onDataURLCallbacks.shift()) {
|
||||
while (this.onDataURLCallbacks.length) {
|
||||
let callback = this.onDataURLCallbacks.shift();
|
||||
callback(e.nativeEvent.base64);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user