Rename HTML Element's id attribute

This commit is contained in:
iska
2015-04-08 00:10:04 +02:00
parent f3a8c1a0ec
commit 72efa18a22
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
@property (nonatomic, strong) NSMutableDictionary *attributes;
@property (nonatomic, copy) NSString *id;
@property (nonatomic, copy) NSString *elementId;
@property (nonatomic, copy) NSString *className;
+1 -1
View File
@@ -52,7 +52,7 @@
#pragma mark - Attributes
- (NSString *)id
- (NSString *)elementId
{
return _attributes[@"id"] ?: @"";
}