* [html5] formate code style @notdanger

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a2e8b085
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a2e8b085
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a2e8b085

Branch: refs/heads/0.15-dev
Commit: a2e8b08551e8f2a36a09d2508da31a7cb7a61284
Parents: d2aacf7
Author: erha19 <faterr...@gmail.com>
Authored: Tue Jul 18 14:46:25 2017 +0800
Committer: erha19 <faterr...@gmail.com>
Committed: Tue Jul 18 14:46:25 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/utils/func.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a2e8b085/html5/render/vue/utils/func.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/utils/func.js b/html5/render/vue/utils/func.js
index 5018b09..386a932 100644
--- a/html5/render/vue/utils/func.js
+++ b/html5/render/vue/utils/func.js
@@ -24,7 +24,7 @@ import {
  * Mix properties into target object.
  * the rightest object's value has the highest priority.
  */
-export function extend (to: {}, ...args: Array < {} >): {} {
+export function extend (to: {}, ...args: Array<{}>): {} {
   if (!args || args.length <= 0) {
     return to
   }
@@ -43,7 +43,7 @@ export function extend (to: {}, ...args: Array < {} >): {} {
  * mostly for merging styles. (that's why '' is falsy but still should be 
counted in.)
  * the rightest object's value has the highest priority.
  */
-export function extendTruthy (to: {}, ...args: Array < {} >): {} {
+export function extendTruthy (to: {}, ...args: Array<{}>): {} {
   if (!args || args.length <= 0) {
     return to
   }
@@ -63,7 +63,7 @@ export function extendTruthy (to: {}, ...args: Array < {} >): 
{} {
 /**
  * Mix specified properties into target object.
  */
-export function extendKeys (to: {}, from: {} = {}, keys: Array < string >): {} 
{
+export function extendKeys (to: {}, from: {} = {}, keys: Array<string>): {} {
   (keys || []).forEach(key => {
     from && (to[key] = from[key])
   })
@@ -72,7 +72,7 @@ export function extendKeys (to: {}, from: {} = {}, keys: 
Array < string >): {} {
 /**
  * Extract specified properties from src to target object.
  */
-export function extractKeys (to: {}, from: {} = {}, keys: Array < string >) {
+export function extractKeys (to: {}, from: {} = {}, keys: Array<string>) {
   if (!from) {
     return to
   }

Reply via email to