* [html5] add LICENSE 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/5581f722
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5581f722
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5581f722

Branch: refs/heads/0.16-dev
Commit: 5581f722d93842a4c19b248a81babbaa64257ff7
Parents: 75c1810
Author: MrRaindrop <tekk...@gmail.com>
Authored: Wed Jul 26 11:41:29 2017 +0800
Committer: MrRaindrop <tekk...@gmail.com>
Committed: Wed Jul 26 11:41:29 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/components/scrollable/index.js  | 19 +++++++++++++++++++
 .../vue/components/scrollable/mixins/index.js    | 19 +++++++++++++++++++
 html5/render/vue/components/scrollable/style.css | 19 +++++++++++++++++++
 html5/render/vue/components/slider/index.js      | 19 +++++++++++++++++++
 html5/render/vue/components/slider/slider.css    | 19 +++++++++++++++++++
 html5/render/vue/styles/base.css                 | 19 +++++++++++++++++++
 html5/render/vue/styles/reset.css                | 19 +++++++++++++++++++
 html5/test/render/vue/utils/lazyload.js          |  3 ---
 8 files changed, 133 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5581f722/html5/render/vue/components/scrollable/index.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/components/scrollable/index.js 
b/html5/render/vue/components/scrollable/index.js
index 3c68404..8142786 100644
--- a/html5/render/vue/components/scrollable/index.js
+++ b/html5/render/vue/components/scrollable/index.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 list from './list'
 import scroller from './scroller'
 import waterfall from './waterfall'

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5581f722/html5/render/vue/components/scrollable/mixins/index.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/components/scrollable/mixins/index.js 
b/html5/render/vue/components/scrollable/mixins/index.js
index 7b9b304..560f958 100644
--- a/html5/render/vue/components/scrollable/mixins/index.js
+++ b/html5/render/vue/components/scrollable/mixins/index.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 scrollable from './scrollable'
 import list from './list'
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5581f722/html5/render/vue/components/scrollable/style.css
----------------------------------------------------------------------
diff --git a/html5/render/vue/components/scrollable/style.css 
b/html5/render/vue/components/scrollable/style.css
index c026113..c4e1498 100644
--- a/html5/render/vue/components/scrollable/style.css
+++ b/html5/render/vue/components/scrollable/style.css
@@ -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.
+ */
+
 body > .weex-list,
 body > .weex-scroller,
 body > .weex-waterfall {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5581f722/html5/render/vue/components/slider/index.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/components/slider/index.js 
b/html5/render/vue/components/slider/index.js
index 90c8d6f..cd9d4ec 100644
--- a/html5/render/vue/components/slider/index.js
+++ b/html5/render/vue/components/slider/index.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 slider from './slider'
 import indicator from './indicator'
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5581f722/html5/render/vue/components/slider/slider.css
----------------------------------------------------------------------
diff --git a/html5/render/vue/components/slider/slider.css 
b/html5/render/vue/components/slider/slider.css
index 4e0f9c2..8fe384b 100644
--- a/html5/render/vue/components/slider/slider.css
+++ b/html5/render/vue/components/slider/slider.css
@@ -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.
+ */
+ 
 .weex-slider-wrapper {
   overflow-x: hidden;
   overflow-y: visible;

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5581f722/html5/render/vue/styles/base.css
----------------------------------------------------------------------
diff --git a/html5/render/vue/styles/base.css b/html5/render/vue/styles/base.css
index 33cb37d..96beb83 100644
--- a/html5/render/vue/styles/base.css
+++ b/html5/render/vue/styles/base.css
@@ -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.
+ */
+ 
 .weex-root * {
   border-width: 0;
   border-color: inherit;

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5581f722/html5/render/vue/styles/reset.css
----------------------------------------------------------------------
diff --git a/html5/render/vue/styles/reset.css 
b/html5/render/vue/styles/reset.css
index 6a33a37..cb334a0 100644
--- a/html5/render/vue/styles/reset.css
+++ b/html5/render/vue/styles/reset.css
@@ -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.
+ */
+ 
 .weex-root,
 .weex-root * {
   color: initial;

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5581f722/html5/test/render/vue/utils/lazyload.js
----------------------------------------------------------------------
diff --git a/html5/test/render/vue/utils/lazyload.js 
b/html5/test/render/vue/utils/lazyload.js
index b4e8251..3c5a5bd 100644
--- a/html5/test/render/vue/utils/lazyload.js
+++ b/html5/test/render/vue/utils/lazyload.js
@@ -36,7 +36,6 @@ describe('utils', function () {
     it('fireLazyload', (done) => {
       const node = document.createElement('figure')
       const urlReg = /http(s)?:\/\/(\S+):(\d+)\//
-      const IMG_REC_INDENT = 500
       node.setAttribute('img-src', invalidImage)
       node.setAttribute('img-placeholder', validImageBlack)
       node.style.height = '10px'
@@ -56,7 +55,6 @@ describe('utils', function () {
     })
     describe('getThrottleLazyload', () => {
       it('should use default value while params is undefined', (done) => {
-        const IMG_REC_INDENT = 500
         window._first_screen_detected = true
         getThrottleLazyload()()
         setTimeout(() => {
@@ -67,7 +65,6 @@ describe('utils', function () {
         const node = document.createElement('figure')
         const urlReg = /http(s)?:\/\/(\S+):(\d+)\//
         const wait = 100
-        const IMG_REC_INDENT = 500
         node.style.height = '10px'
         node.setAttribute('img-src', validImageTransparent)
         node.setAttribute('img-placeholder', validImageBlack)

Reply via email to