fix lint warning

This commit is contained in:
Horcrux
2016-05-21 21:07:26 +08:00
parent be4d7bc477
commit 329629ae21
6 changed files with 10 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ import Svg, {
class CircleExample extends Component{
static title = 'Circle';
render() {
return <Svg
height="100"
width="140"

View File

@@ -49,7 +49,6 @@ class ClipPathAttr extends Component{
height="100"
fill="url(#grad)"
clipPath="M50,5L20,99L95,39L5,39L80,99z"
onStartShouldSetResponder={() => alert("1111111")}
/>
<Rect
x="40%"

View File

@@ -527,7 +527,10 @@
);
INFOPLIST_FILE = ArtSvgExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = "-ObjC";
OTHER_LDFLAGS = (
"-ObjC",
"-lc++",
);
PRODUCT_NAME = ArtSvgExample;
};
name = Debug;
@@ -543,7 +546,10 @@
);
INFOPLIST_FILE = ArtSvgExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = "-ObjC";
OTHER_LDFLAGS = (
"-ObjC",
"-lc++",
);
PRODUCT_NAME = ArtSvgExample;
};
name = Release;

View File

@@ -3,8 +3,6 @@ import extractProps from '../lib/extract/extractProps';
import createNativeComponent from '../lib/createNativeComponent';
import mergeContext from '../lib/mergeContext';
import {circleProps, pathProps, fillProps, strokeProps, numberProp} from '../lib/props';
import SvgTouchableMixin from '../lib/SvgTouchableMixin';
import _ from 'lodash';
class Circle extends Component{
static displayName = 'Circle';

View File

@@ -1,5 +1,4 @@
import React, {Component, PropTypes} from 'react';
import {NativeGroup} from './G';
import {set, remove} from '../lib/extract/extractClipping';
import createNativeComponent from '../lib/createNativeComponent';

View File

@@ -39,4 +39,4 @@ export default {
touchableGetPressOutDelayMS: function() {
return this.props.delayPressOut || 0;
}
}
};