     /**
     * Initializes a new pending promise
     *
-    * :returns: A pending promise with no chained promises
+    * - returns: A pending promise with no chained promises
     */
     public init() {
         state = .Pending([])

    * This can be useful when an async user code process needs to return a promise, but already
    * has the result (such as with a completed network request, database query, etc.)
    *
    * :returns: A rejected or fulfilled promise with no chained promises
    */
    public init(_ value:AnyObject?) {
        if let error = value as? NSError {

                self.state = .Fulfilled(value)
                promiseActionsToFulfill = promiseActions
            default:
                print("WARN: cannot fulfill promise, state already set to \(self.state)")
            }
        }
        for promiseAction in promiseActionsToFulfill {
