diff --git a/app/images/logos/openliberty.png b/app/images/logos/openliberty.png new file mode 100644 index 0000000000..6a3ab313f0 Binary files /dev/null and b/app/images/logos/openliberty.png differ diff --git a/app/scripts/constants.js b/app/scripts/constants.js index 1881213afa..a28cb9c41d 100644 --- a/app/scripts/constants.js +++ b/app/scripts/constants.js @@ -670,6 +670,7 @@ angular.extend(window.OPENSHIFT_CONSTANTS, { 'icon-nginx': 'nginx.svg', 'icon-nodejs': 'nodejs.svg', 'icon-openjdk': 'openjdk.svg', + 'icon-openliberty': 'openliberty.png', 'icon-openshift': 'openshift.svg', 'icon-openstack': 'openstack.svg', 'icon-other-linux': 'other-linux.svg', diff --git a/dist/images/logos/openliberty.png b/dist/images/logos/openliberty.png new file mode 100644 index 0000000000..6a3ab313f0 Binary files /dev/null and b/dist/images/logos/openliberty.png differ diff --git a/dist/scripts/scripts.js b/dist/scripts/scripts.js index a5faf33886..708ce76220 100644 --- a/dist/scripts/scripts.js +++ b/dist/scripts/scripts.js @@ -1115,6 +1115,7 @@ LOGOS: { "icon-nginx": "nginx.svg", "icon-nodejs": "nodejs.svg", "icon-openjdk": "openjdk.svg", +"icon-openliberty": "openliberty.png", "icon-openshift": "openshift.svg", "icon-openstack": "openstack.svg", "icon-other-linux": "other-linux.svg", diff --git a/dist/scripts/vendor.js b/dist/scripts/vendor.js index 55089c8198..41aeb4fc67 100644 --- a/dist/scripts/vendor.js +++ b/dist/scripts/vendor.js @@ -76067,24 +76067,17 @@ function o(e) { if ("string" != typeof e) throw new TypeError("Invalid operator type, expected string but got " + typeof e); if (-1 === s.indexOf(e)) throw new TypeError("Invalid operator, expected one of " + s.join("|")); } -var a = /^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, s = [ ">", ">=", "=", "<", "<=" ]; +var a = /^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, s = [ ">", ">=", "=", "<", "<=" ], l = { +">": [ 1 ], +">=": [ 0, 1 ], +"=": [ 0 ], +"<=": [ -1, 0 ], +"<": [ -1 ] +}; return r.compare = function(e, t, n) { -switch (o(n), n) { -case ">": -return r(e, t) > 0; - -case ">=": -return r(e, t) >= 0; - -case "<": -return r(e, t) < 0; - -case "<=": -return r(e, t) <= 0; - -default: -return 0 === r(e, t); -} +o(n); +var i = r(e, t); +return l[n].indexOf(i) > -1; }, r; }), function() { "use strict";