You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/08/17 03:59:57 UTC

[40/43] incubator-weex git commit: * [build] add apache copyright comment in the header

* [build] add apache copyright comment in the header


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

Branch: refs/heads/0.16-dev
Commit: c379f7d1145e99ecd0c8ec8bbf0db1b82f2cf51e
Parents: e9f9df5
Author: Hanks <zh...@gmail.com>
Authored: Mon Aug 14 15:23:38 2017 +0800
Committer: Hanks <zh...@gmail.com>
Committed: Mon Aug 14 15:23:38 2017 +0800

----------------------------------------------------------------------
 html5/runtime/api/config.js               |  1 +
 html5/runtime/api/init.js                 |  1 +
 html5/runtime/bridge/TaskCenter.js        |  1 +
 html5/runtime/utils.js                    | 18 ++++++++++++++++++
 html5/runtime/vdom/directive.js           | 19 +++++++++++++++++++
 html5/test/unit/runtime/runner/helper.js  | 19 +++++++++++++++++++
 html5/test/unit/runtime/runner/vanilla.js | 19 +++++++++++++++++++
 html5/test/unit/runtime/runner/vue.js     | 19 +++++++++++++++++++
 html5/test/unit/runtime/vdom/directive.js | 19 +++++++++++++++++++
 9 files changed, 116 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/runtime/api/config.js
----------------------------------------------------------------------
diff --git a/html5/runtime/api/config.js b/html5/runtime/api/config.js
index 729ceaf..d212f3d 100644
--- a/html5/runtime/api/config.js
+++ b/html5/runtime/api/config.js
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 import { Document, Element, Comment } from '../vdom'
 import Listener from '../bridge/Listener'
 import { TaskCenter } from '../bridge/TaskCenter'

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/runtime/api/init.js
----------------------------------------------------------------------
diff --git a/html5/runtime/api/init.js b/html5/runtime/api/init.js
index cd8af86..024afa7 100644
--- a/html5/runtime/api/init.js
+++ b/html5/runtime/api/init.js
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 import { init as initTaskHandler } from '../bridge/TaskCenter'
 import { registerElement } from '../vdom/WeexElement'
 import { services, register, unregister } from './service'

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/runtime/bridge/TaskCenter.js
----------------------------------------------------------------------
diff --git a/html5/runtime/bridge/TaskCenter.js b/html5/runtime/bridge/TaskCenter.js
index 497feab..0479df8 100644
--- a/html5/runtime/bridge/TaskCenter.js
+++ b/html5/runtime/bridge/TaskCenter.js
@@ -16,6 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+
 import CallbackManager from './CallbackManager'
 import Element from '../vdom/Element'
 import { typof } from '../utils'

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/runtime/utils.js
----------------------------------------------------------------------
diff --git a/html5/runtime/utils.js b/html5/runtime/utils.js
index f96703a..9bb6917 100644
--- a/html5/runtime/utils.js
+++ b/html5/runtime/utils.js
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 
 /**
  * Get a unique id.

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/runtime/vdom/directive.js
----------------------------------------------------------------------
diff --git a/html5/runtime/vdom/directive.js b/html5/runtime/vdom/directive.js
index 66f33c7..4d82fde 100644
--- a/html5/runtime/vdom/directive.js
+++ b/html5/runtime/vdom/directive.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import { typof } from '../utils'
 
 // match the binding delimiter

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/test/unit/runtime/runner/helper.js
----------------------------------------------------------------------
diff --git a/html5/test/unit/runtime/runner/helper.js b/html5/test/unit/runtime/runner/helper.js
index 6f433a5..7fdcb80 100644
--- a/html5/test/unit/runtime/runner/helper.js
+++ b/html5/test/unit/runtime/runner/helper.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import runtime from '../../../../runtime'
 import frameworks from '../../../../frameworks'
 import services from '../../../../services'

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/test/unit/runtime/runner/vanilla.js
----------------------------------------------------------------------
diff --git a/html5/test/unit/runtime/runner/vanilla.js b/html5/test/unit/runtime/runner/vanilla.js
index e55eeb0..2bb6226 100644
--- a/html5/test/unit/runtime/runner/vanilla.js
+++ b/html5/test/unit/runtime/runner/vanilla.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import { expect } from 'chai'
 import { execute } from './helper'
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/test/unit/runtime/runner/vue.js
----------------------------------------------------------------------
diff --git a/html5/test/unit/runtime/runner/vue.js b/html5/test/unit/runtime/runner/vue.js
index 2e3c4bb..bdb0006 100644
--- a/html5/test/unit/runtime/runner/vue.js
+++ b/html5/test/unit/runtime/runner/vue.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import { expect } from 'chai'
 import { execute } from './helper'
 import { compile } from 'weex-template-compiler'

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c379f7d1/html5/test/unit/runtime/vdom/directive.js
----------------------------------------------------------------------
diff --git a/html5/test/unit/runtime/vdom/directive.js b/html5/test/unit/runtime/vdom/directive.js
index 6c9109b..cafb33d 100644
--- a/html5/test/unit/runtime/vdom/directive.js
+++ b/html5/test/unit/runtime/vdom/directive.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import { expect } from 'chai'
 import { filterDirective } from '../../../../runtime/vdom/directive'