             return "{\"image\": \"\(paramName)\", \"repeat\": \(r.jsonString)}"
         }
     }
+    
 }
 
 public struct SECGradientColorElement {

        var offset: Float?
        var color: SECColor?
        for (key, value) in elements {
            if key == "offset", let v = value as? Float {
                offset = v
            } else if key == "color", let v = value as? SECColor {
                color = v
            }

                }
                result = result.substringToIndex(result.endIndex.predecessor())
                result += "], \(absolute))"
                let count = SECJsMap.allFunctions().count
                let paramName = "linearGradient\(count)"
                SECJsMap.add("var \(paramName) = \(result);")
                result = "\"\(paramName)\""
            }
            return result
        case let .array(colors):
