diff --git a/lib/BUCK b/lib/BUCK index 22b8323f81..ecd30ae525 100644 --- a/lib/BUCK +++ b/lib/BUCK @@ -13,6 +13,7 @@ define_license(name = 'clippy') define_license(name = 'codemirror-minified') define_license(name = 'codemirror-original') define_license(name = 'diffy') +define_license(name = 'es6-promise') define_license(name = 'fetch') define_license(name = 'h2') define_license(name = 'highlightjs') diff --git a/lib/LICENSE-es6-promise b/lib/LICENSE-es6-promise new file mode 100644 index 0000000000..954ec5992d --- /dev/null +++ b/lib/LICENSE-es6-promise @@ -0,0 +1,19 @@ +Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors + +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. diff --git a/lib/js/BUCK b/lib/js/BUCK index 71b14747fe..30c687bf49 100644 --- a/lib/js/BUCK +++ b/lib/js/BUCK @@ -99,6 +99,14 @@ bower_component( sha1 = '849ad3ee7c77506548b7b5db603a4e150b9431aa', ) +bower_component( + name = 'es6-promise', + package = 'stefanpenner/es6-promise', + version = '3.2.2', + license = 'es6-promise', + sha1 = 'de2eda2fdd744994180a0df03d2b5a936fcb1e70', +) + bower_component( name = 'fetch', package = 'fetch', diff --git a/polygerrit-ui/BUCK b/polygerrit-ui/BUCK index e26e40c560..80f9f29f17 100644 --- a/polygerrit-ui/BUCK +++ b/polygerrit-ui/BUCK @@ -3,6 +3,7 @@ include_defs('//lib/js.defs') bower_components( name = 'polygerrit_components', deps = [ + '//lib/js:es6-promise', '//lib/js:fetch', '//lib/js:highlightjs', '//lib/js:iron-autogrow-textarea', diff --git a/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.html b/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.html index 72ae4e4c6c..59e46cc8a4 100644 --- a/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.html +++ b/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.html @@ -15,6 +15,7 @@ limitations under the License. --> +