clean up unused code

This commit is contained in:
Horcrux
2016-09-17 09:49:28 +08:00
parent 09c5b10f02
commit d549f6ca9c
18 changed files with 142 additions and 288 deletions
@@ -8,6 +8,6 @@
#import "RNSVGRenderableManager.h"
@interface RNSVGTSpanManager : RNSVGRenderableManager
@interface RNSVGSpanManager : RNSVGRenderableManager
@end
+29
View File
@@ -0,0 +1,29 @@
/**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "RNSVGSpanManager.h"
#import "RNSVGSpan.h"
#import "RCTConvert+RNSVG.h"
@implementation RNSVGSpanManager
RCT_EXPORT_MODULE()
- (RNSVGRenderable *)node
{
return [RNSVGSpan new];
}
RCT_EXPORT_VIEW_PROPERTY(dx, CGFloat)
RCT_EXPORT_VIEW_PROPERTY(dy, CGFloat)
RCT_EXPORT_VIEW_PROPERTY(px, NSString)
RCT_EXPORT_VIEW_PROPERTY(py, NSString)
RCT_REMAP_VIEW_PROPERTY(font, font, RNSVGFont)
@end
-27
View File
@@ -1,27 +0,0 @@
/**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "RNSVGTSpanManager.h"
#import "RNSVGTSpan.h"
#import "RCTConvert+RNSVG.h"
@implementation RNSVGTSpanManager
RCT_EXPORT_MODULE()
- (RNSVGRenderable *)node
{
return [RNSVGTSpan new];
}
RCT_EXPORT_VIEW_PROPERTY(line, NSString)
RCT_EXPORT_VIEW_PROPERTY(dx, NSString)
RCT_EXPORT_VIEW_PROPERTY(dy, NSString)
@end
-1
View File
@@ -21,7 +21,6 @@ RCT_EXPORT_MODULE()
}
RCT_EXPORT_VIEW_PROPERTY(alignment, CTTextAlignment)
RCT_REMAP_VIEW_PROPERTY(frame, textFrame, RNSVGTextFrame)
RCT_EXPORT_VIEW_PROPERTY(path, RNSVGBezier)
@end