refactor promise.js
refactor promise.js

cgvarela/ractive,Rich-Harris/ractive,pingjiang/ractive,cgvarela/ractive,pingjiang/ractive,squaredup/ractive,magicdawn/ractive,p0lax/ractive,Rich-Harris/ractive,ISNIT0/ractive,ractivejs/ractive,Rich-Harris/ractive,pingjiang/ractive,npmcomponent/RactiveJS-Ractive,ractivejs/ractive,dyx/ractive,ISNIT0/ractive,thomsbg/ractive,JonDum/ractive,aliprogrammer69/ractive,heavyk/ractive,npmcomponent/RactiveJS-Ractive,squaredup/ractive,thomsbg/ractive,dyx/ractive,ractivejs/ractive,cgvarela/ractive,heavyk/ractive,thomsbg/ractive,aliprogrammer69/ractive,marcalexiei/ractive,p0lax/ractive,magicdawn/ractive,marcalexiei/ractive,ISNIT0/ractive,ndimas/ractive,magicdawn/ractive,ndimas/ractive,marcalexiei/ractive,aliprogrammer69/ractive,JonDum/ractive,squaredup/ractive,ndimas/ractive,dyx/ractive,heavyk/ractive,JonDum/ractive