summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/angular-uuid
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/angular-uuid')
-rw-r--r--ecomp-portal-FE/client/bower_components/angular-uuid/.bower.json23
-rw-r--r--ecomp-portal-FE/client/bower_components/angular-uuid/LICENCE19
-rw-r--r--ecomp-portal-FE/client/bower_components/angular-uuid/bower.json13
-rw-r--r--ecomp-portal-FE/client/bower_components/angular-uuid/uuid.js21
-rw-r--r--ecomp-portal-FE/client/bower_components/angular-uuid/uuid.min.js7
5 files changed, 83 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/angular-uuid/.bower.json b/ecomp-portal-FE/client/bower_components/angular-uuid/.bower.json
new file mode 100644
index 00000000..125b0615
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/angular-uuid/.bower.json
@@ -0,0 +1,23 @@
+{
+ "name": "angular-uuid",
+ "version": "0.1.0",
+ "main": "uuid.min.js",
+ "dependencies": {
+ "angular": "~1.0.7"
+ },
+ "ignore": [
+ "**/.*",
+ "node_modules",
+ "components"
+ ],
+ "homepage": "https://github.com/ajsd/angular-uuid",
+ "_release": "0.1.0",
+ "_resolution": {
+ "type": "version",
+ "tag": "0.1.0",
+ "commit": "33d501b80d3de01710a100061d47632021108b8d"
+ },
+ "_source": "https://github.com/ajsd/angular-uuid.git",
+ "_target": "^0.1.0",
+ "_originalSource": "angular-uuid"
+} \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/angular-uuid/LICENCE b/ecomp-portal-FE/client/bower_components/angular-uuid/LICENCE
new file mode 100644
index 00000000..745a8b47
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/angular-uuid/LICENCE
@@ -0,0 +1,19 @@
+Copyright (c) 2013 Arunjit Singh <opensrc@ajsd.in>
+
+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/ecomp-portal-FE/client/bower_components/angular-uuid/bower.json b/ecomp-portal-FE/client/bower_components/angular-uuid/bower.json
new file mode 100644
index 00000000..10ac8743
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/angular-uuid/bower.json
@@ -0,0 +1,13 @@
+{
+ "name": "angular-uuid",
+ "version": "0.1.0",
+ "main": "uuid.min.js",
+ "dependencies": {
+ "angular": "~1.0.7"
+ },
+ "ignore": [
+ "**/.*",
+ "node_modules",
+ "components"
+ ]
+}
diff --git a/ecomp-portal-FE/client/bower_components/angular-uuid/uuid.js b/ecomp-portal-FE/client/bower_components/angular-uuid/uuid.js
new file mode 100644
index 00000000..0c02072c
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/angular-uuid/uuid.js
@@ -0,0 +1,21 @@
+/**!
+ * angular-uuid v0.1.0
+ * @copyright 2013 Arunjit Singh <opensrc@ajsd.in>. All Rights Reserved.
+ * @license MIT; see LICENCE.
+ * [https://github.com/ajsd/angular-uuid.git]
+ */
+'use strict';
+
+/**
+ * A UUID-4 generator.
+ */
+angular.module('uuid', []).service('uuid4', function() {
+ /**! http://stackoverflow.com/a/2117523/377392 */
+ var fmt = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';
+ this.generate = function() {
+ return fmt.replace(/[xy]/g, function(c) {
+ var r = Math.random()*16|0, v = c === 'x' ? r : (r&0x3|0x8);
+ return v.toString(16);
+ });
+ };
+});
diff --git a/ecomp-portal-FE/client/bower_components/angular-uuid/uuid.min.js b/ecomp-portal-FE/client/bower_components/angular-uuid/uuid.min.js
new file mode 100644
index 00000000..7980dc61
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/angular-uuid/uuid.min.js
@@ -0,0 +1,7 @@
+/**!
+ * angular-uuid v0.1.0
+ * @copyright 2013 Arunjit Singh <opensrc@ajsd.in>. All Rights Reserved.
+ * @license MIT; see LICENCE.
+ * [https://github.com/ajsd/angular-uuid.git]
+ */
+"use strict";angular.module("uuid",[]).service("uuid4",function(){var fmt="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";this.generate=function(){return fmt.replace(/[xy]/g,function(c){var r=Math.random()*16|0,v=c==="x"?r:r&3|8;return v.toString(16)})}});