removed trailing witespaces

This commit is contained in:
Ilya Puchka
2017-12-27 18:48:37 +01:00
parent 4bfdb73175
commit 662849e968
12 changed files with 51 additions and 51 deletions

View File

@@ -42,9 +42,9 @@ class DefaultExtension: Extension {
registerTag("for", parser: ForNode.parse) registerTag("for", parser: ForNode.parse)
registerTag("if", parser: IfNode.parse) registerTag("if", parser: IfNode.parse)
registerTag("ifnot", parser: IfNode.parse_ifnot) registerTag("ifnot", parser: IfNode.parse_ifnot)
#if !os(Linux) #if !os(Linux)
registerTag("now", parser: NowNode.parse) registerTag("now", parser: NowNode.parse)
#endif #endif
registerTag("include", parser: IncludeNode.parse) registerTag("include", parser: IncludeNode.parse)
registerTag("extends", parser: ExtendsNode.parse) registerTag("extends", parser: ExtendsNode.parse)
registerTag("block", parser: BlockNode.parse) registerTag("block", parser: BlockNode.parse)

View File

@@ -95,11 +95,11 @@ public struct Variable : Equatable, Resolvable {
current = array.count current = array.count
} }
} else if let object = current as? NSObject { // NSKeyValueCoding } else if let object = current as? NSObject { // NSKeyValueCoding
#if os(Linux) #if os(Linux)
return nil return nil
#else #else
current = object.value(forKey: bit) current = object.value(forKey: bit)
#endif #endif
} else if let value = current { } else if let value = current {
current = Mirror(reflecting: value).getValue(for: bit) current = Mirror(reflecting: value).getValue(for: bit)
if current == nil { if current == nil {