Move ba-linkify.js to lib
This is code not authored by the PG authors, so move it out of the main polygerrit-ui directory. Change-Id: Ie711a9db22d718d60fa62767b97ac180bca719a8
This commit is contained in:
parent
a7f0e62938
commit
e2206e547a
22
lib/LICENSE-ba-linkify
Normal file
22
lib/LICENSE-ba-linkify
Normal file
@ -0,0 +1,22 @@
|
||||
Copyright (c) 2009 "Cowboy" Ben Alman
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
1
lib/ba-linkify/BUILD
Normal file
1
lib/ba-linkify/BUILD
Normal file
@ -0,0 +1 @@
|
||||
exports_files(["ba-linkify.js"])
|
@ -30,6 +30,12 @@ filegroup(
|
||||
data = ["//lib:LICENSE-highlightjs"],
|
||||
)
|
||||
|
||||
js_component(
|
||||
name = "ba-linkify",
|
||||
srcs = ["//lib/ba-linkify:ba-linkify.js"],
|
||||
license = "//lib:LICENSE-ba-linkify",
|
||||
)
|
||||
|
||||
bower_component(
|
||||
name = "codemirror-minified",
|
||||
license = "//lib:LICENSE-codemirror-minified",
|
||||
|
@ -8,6 +8,7 @@ load("//tools/bzl:genrule2.bzl", "genrule2")
|
||||
bower_component_bundle(
|
||||
name = "polygerrit_components.bower_components",
|
||||
deps = [
|
||||
"//lib/js:ba-linkify",
|
||||
"//lib/js:es6-promise",
|
||||
"//lib/js:fetch",
|
||||
"//lib/js:iron-a11y-keys-behavior",
|
||||
|
@ -18,7 +18,7 @@ limitations under the License.
|
||||
<link rel="import" href="../../../bower_components/polymer/polymer.html">
|
||||
<link rel="import" href="../../../styles/shared-styles.html">
|
||||
|
||||
<script src="ba-linkify.js"></script>
|
||||
<script src="../../../bower_components/ba-linkify/ba-linkify.js"></script>
|
||||
<script src="link-text-parser.js"></script>
|
||||
<dom-module id="gr-linked-text">
|
||||
<template>
|
||||
|
Loading…
Reference in New Issue
Block a user