=1.6",
51 | "blueimp-tmpl": ">=2.5.4",
52 | "blueimp-load-image": ">=1.13.0",
53 | "blueimp-canvas-to-blob": ">=2.1.1"
54 | },
55 | "main": [
56 | "css/jquery.fileupload.css",
57 | "css/jquery.fileupload-ui.css",
58 | "css/jquery.fileupload-noscript.css",
59 | "css/jquery.fileupload-ui-noscript.css",
60 | "js/cors/jquery.postmessage-transport.js",
61 | "js/cors/jquery.xdr-transport.js",
62 | "js/vendor/jquery.ui.widget.js",
63 | "js/jquery.fileupload.js",
64 | "js/jquery.fileupload-process.js",
65 | "js/jquery.fileupload-validate.js",
66 | "js/jquery.fileupload-image.js",
67 | "js/jquery.fileupload-audio.js",
68 | "js/jquery.fileupload-video.js",
69 | "js/jquery.fileupload-ui.js",
70 | "js/jquery.fileupload-jquery-ui.js",
71 | "js/jquery.fileupload-angular.js",
72 | "js/jquery.iframe-transport.js"
73 | ],
74 | "ignore": [
75 | "/*.*",
76 | "/cors",
77 | "css/demo-ie8.css",
78 | "css/demo.css",
79 | "css/style.css",
80 | "js/app.js",
81 | "js/main.js",
82 | "server",
83 | "test"
84 | ],
85 | "_release": "9.8.0",
86 | "_resolution": {
87 | "type": "version",
88 | "tag": "9.8.0",
89 | "commit": "0742a6283492b86f80abe935e4348e56ee4f6815"
90 | },
91 | "_source": "git://github.com/blueimp/jQuery-File-Upload.git",
92 | "_target": "~9.8.0",
93 | "_originalSource": "blueimp-file-upload",
94 | "_direct": true
95 | }
--------------------------------------------------------------------------------
/vendor/blueimp-file-upload/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "blueimp-file-upload",
3 | "version": "9.8.0",
4 | "title": "jQuery File Upload",
5 | "description": "File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.",
6 | "keywords": [
7 | "jquery",
8 | "file",
9 | "upload",
10 | "widget",
11 | "multiple",
12 | "selection",
13 | "drag",
14 | "drop",
15 | "progress",
16 | "preview",
17 | "cross-domain",
18 | "cross-site",
19 | "chunk",
20 | "resume",
21 | "gae",
22 | "go",
23 | "python",
24 | "php",
25 | "bootstrap"
26 | ],
27 | "homepage": "https://github.com/blueimp/jQuery-File-Upload",
28 | "author": {
29 | "name": "Sebastian Tschan",
30 | "url": "https://blueimp.net"
31 | },
32 | "maintainers": [
33 | {
34 | "name": "Sebastian Tschan",
35 | "url": "https://blueimp.net"
36 | }
37 | ],
38 | "repository": {
39 | "type": "git",
40 | "url": "git://github.com/blueimp/jQuery-File-Upload.git"
41 | },
42 | "bugs": "https://github.com/blueimp/jQuery-File-Upload/issues",
43 | "licenses": [
44 | {
45 | "type": "MIT",
46 | "url": "http://www.opensource.org/licenses/MIT"
47 | }
48 | ],
49 | "dependencies": {
50 | "jquery": ">=1.6",
51 | "blueimp-tmpl": ">=2.5.4",
52 | "blueimp-load-image": ">=1.13.0",
53 | "blueimp-canvas-to-blob": ">=2.1.1"
54 | },
55 | "main": [
56 | "css/jquery.fileupload.css",
57 | "css/jquery.fileupload-ui.css",
58 | "css/jquery.fileupload-noscript.css",
59 | "css/jquery.fileupload-ui-noscript.css",
60 | "js/cors/jquery.postmessage-transport.js",
61 | "js/cors/jquery.xdr-transport.js",
62 | "js/vendor/jquery.ui.widget.js",
63 | "js/jquery.fileupload.js",
64 | "js/jquery.fileupload-process.js",
65 | "js/jquery.fileupload-validate.js",
66 | "js/jquery.fileupload-image.js",
67 | "js/jquery.fileupload-audio.js",
68 | "js/jquery.fileupload-video.js",
69 | "js/jquery.fileupload-ui.js",
70 | "js/jquery.fileupload-jquery-ui.js",
71 | "js/jquery.fileupload-angular.js",
72 | "js/jquery.iframe-transport.js"
73 | ],
74 | "ignore": [
75 | "/*.*",
76 | "/cors",
77 | "css/demo-ie8.css",
78 | "css/demo.css",
79 | "css/style.css",
80 | "js/app.js",
81 | "js/main.js",
82 | "server",
83 | "test"
84 | ]
85 | }
86 |
--------------------------------------------------------------------------------
/vendor/blueimp-file-upload/css/jquery.fileupload-noscript.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | /*
3 | * jQuery File Upload Plugin NoScript CSS 1.2.0
4 | * https://github.com/blueimp/jQuery-File-Upload
5 | *
6 | * Copyright 2013, Sebastian Tschan
7 | * https://blueimp.net
8 | *
9 | * Licensed under the MIT license:
10 | * http://www.opensource.org/licenses/MIT
11 | */
12 |
13 | .fileinput-button input {
14 | position: static;
15 | opacity: 1;
16 | filter: none;
17 | font-size: inherit;
18 | direction: inherit;
19 | }
20 | .fileinput-button span {
21 | display: none;
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/blueimp-file-upload/css/jquery.fileupload-ui-noscript.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | /*
3 | * jQuery File Upload UI Plugin NoScript CSS 8.8.5
4 | * https://github.com/blueimp/jQuery-File-Upload
5 | *
6 | * Copyright 2012, Sebastian Tschan
7 | * https://blueimp.net
8 | *
9 | * Licensed under the MIT license:
10 | * http://www.opensource.org/licenses/MIT
11 | */
12 |
13 | .fileinput-button i,
14 | .fileupload-buttonbar .delete,
15 | .fileupload-buttonbar .toggle {
16 | display: none;
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/blueimp-file-upload/css/jquery.fileupload-ui.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | /*
3 | * jQuery File Upload UI Plugin CSS 9.0.0
4 | * https://github.com/blueimp/jQuery-File-Upload
5 | *
6 | * Copyright 2010, Sebastian Tschan
7 | * https://blueimp.net
8 | *
9 | * Licensed under the MIT license:
10 | * http://www.opensource.org/licenses/MIT
11 | */
12 |
13 | .fileupload-buttonbar .btn,
14 | .fileupload-buttonbar .toggle {
15 | margin-bottom: 5px;
16 | }
17 | .progress-animated .progress-bar,
18 | .progress-animated .bar {
19 | background: url("../img/progressbar.gif") !important;
20 | filter: none;
21 | }
22 | .fileupload-process {
23 | float: right;
24 | display: none;
25 | }
26 | .fileupload-processing .fileupload-process,
27 | .files .processing .preview {
28 | display: block;
29 | width: 32px;
30 | height: 32px;
31 | background: url("../img/loading.gif") center no-repeat;
32 | background-size: contain;
33 | }
34 | .files audio,
35 | .files video {
36 | max-width: 300px;
37 | }
38 |
39 | @media (max-width: 767px) {
40 | .fileupload-buttonbar .toggle,
41 | .files .toggle,
42 | .files .btn span {
43 | display: none;
44 | }
45 | .files .name {
46 | width: 80px;
47 | word-wrap: break-word;
48 | }
49 | .files audio,
50 | .files video {
51 | max-width: 80px;
52 | }
53 | .files img,
54 | .files canvas {
55 | max-width: 100%;
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/vendor/blueimp-file-upload/css/jquery.fileupload.css:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 | /*
3 | * jQuery File Upload Plugin CSS 1.3.0
4 | * https://github.com/blueimp/jQuery-File-Upload
5 | *
6 | * Copyright 2013, Sebastian Tschan
7 | * https://blueimp.net
8 | *
9 | * Licensed under the MIT license:
10 | * http://www.opensource.org/licenses/MIT
11 | */
12 |
13 | .fileinput-button {
14 | position: relative;
15 | overflow: hidden;
16 | }
17 | .fileinput-button input {
18 | position: absolute;
19 | top: 0;
20 | right: 0;
21 | margin: 0;
22 | opacity: 0;
23 | -ms-filter: 'alpha(opacity=0)';
24 | font-size: 200px;
25 | direction: ltr;
26 | cursor: pointer;
27 | }
28 |
29 | /* Fixes for IE < 8 */
30 | @media screen\9 {
31 | .fileinput-button input {
32 | filter: alpha(opacity=0);
33 | font-size: 100%;
34 | height: 100%;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/vendor/blueimp-file-upload/img/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/owncloud-archive/contacts/9ba2e667ae8c7ea36d8c4a4c3413c374beb24b1b/vendor/blueimp-file-upload/img/loading.gif
--------------------------------------------------------------------------------
/vendor/blueimp-file-upload/img/progressbar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/owncloud-archive/contacts/9ba2e667ae8c7ea36d8c4a4c3413c374beb24b1b/vendor/blueimp-file-upload/img/progressbar.gif
--------------------------------------------------------------------------------
/vendor/blueimp-load-image/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "blueimp-load-image",
3 | "version": "1.13.0",
4 | "title": "JavaScript Load Image",
5 | "description": "JavaScript Load Image is a library to load images provided as File or Blob objects or via URL. It returns an optionally scaled and/or cropped HTML img or canvas element. It also provides a method to parse image meta data to extract Exif tags and thumbnails and to restore the complete image header after resizing.",
6 | "keywords": [
7 | "javascript",
8 | "load",
9 | "loading",
10 | "image",
11 | "file",
12 | "blob",
13 | "url",
14 | "scale",
15 | "crop",
16 | "img",
17 | "canvas",
18 | "meta",
19 | "exif",
20 | "thumbnail",
21 | "resizing"
22 | ],
23 | "homepage": "https://github.com/blueimp/JavaScript-Load-Image",
24 | "author": {
25 | "name": "Sebastian Tschan",
26 | "url": "https://blueimp.net"
27 | },
28 | "maintainers": [
29 | {
30 | "name": "Sebastian Tschan",
31 | "url": "https://blueimp.net"
32 | }
33 | ],
34 | "repository": {
35 | "type": "git",
36 | "url": "git://github.com/blueimp/JavaScript-Load-Image.git"
37 | },
38 | "bugs": "https://github.com/blueimp/JavaScript-Load-Image/issues",
39 | "licenses": [
40 | {
41 | "type": "MIT",
42 | "url": "http://www.opensource.org/licenses/MIT"
43 | }
44 | ],
45 | "main": [
46 | "js/load-image.js",
47 | "js/load-image-ios.js",
48 | "js/load-image-orientation.js",
49 | "js/load-image-meta.js",
50 | "js/load-image-exif.js",
51 | "js/load-image-exif-map.js"
52 | ],
53 | "ignore": [
54 | "/*.*",
55 | "css",
56 | "js/vendor",
57 | "js/demo.js",
58 | "test"
59 | ],
60 | "_release": "1.13.0",
61 | "_resolution": {
62 | "type": "version",
63 | "tag": "1.13.0",
64 | "commit": "a38af6ff57c3661a3c21d22bae79640982582841"
65 | },
66 | "_source": "git://github.com/blueimp/JavaScript-Load-Image.git",
67 | "_target": ">=1.13.0",
68 | "_originalSource": "blueimp-load-image"
69 | }
--------------------------------------------------------------------------------
/vendor/blueimp-load-image/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "blueimp-load-image",
3 | "version": "1.13.0",
4 | "title": "JavaScript Load Image",
5 | "description": "JavaScript Load Image is a library to load images provided as File or Blob objects or via URL. It returns an optionally scaled and/or cropped HTML img or canvas element. It also provides a method to parse image meta data to extract Exif tags and thumbnails and to restore the complete image header after resizing.",
6 | "keywords": [
7 | "javascript",
8 | "load",
9 | "loading",
10 | "image",
11 | "file",
12 | "blob",
13 | "url",
14 | "scale",
15 | "crop",
16 | "img",
17 | "canvas",
18 | "meta",
19 | "exif",
20 | "thumbnail",
21 | "resizing"
22 | ],
23 | "homepage": "https://github.com/blueimp/JavaScript-Load-Image",
24 | "author": {
25 | "name": "Sebastian Tschan",
26 | "url": "https://blueimp.net"
27 | },
28 | "maintainers": [
29 | {
30 | "name": "Sebastian Tschan",
31 | "url": "https://blueimp.net"
32 | }
33 | ],
34 | "repository": {
35 | "type": "git",
36 | "url": "git://github.com/blueimp/JavaScript-Load-Image.git"
37 | },
38 | "bugs": "https://github.com/blueimp/JavaScript-Load-Image/issues",
39 | "licenses": [
40 | {
41 | "type": "MIT",
42 | "url": "http://www.opensource.org/licenses/MIT"
43 | }
44 | ],
45 | "main": [
46 | "js/load-image.js",
47 | "js/load-image-ios.js",
48 | "js/load-image-orientation.js",
49 | "js/load-image-meta.js",
50 | "js/load-image-exif.js",
51 | "js/load-image-exif-map.js"
52 | ],
53 | "ignore": [
54 | "/*.*",
55 | "css",
56 | "js/vendor",
57 | "js/demo.js",
58 | "test"
59 | ]
60 | }
61 |
--------------------------------------------------------------------------------
/vendor/blueimp-md5/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "blueimp-md5",
3 | "version": "1.1.0",
4 | "title": "JavaScript MD5",
5 | "description": "JavaScript MD5 implementation.",
6 | "keywords": [
7 | "javascript",
8 | "md5"
9 | ],
10 | "homepage": "https://github.com/blueimp/JavaScript-MD5",
11 | "author": {
12 | "name": "Sebastian Tschan",
13 | "url": "https://blueimp.net"
14 | },
15 | "maintainers": [
16 | {
17 | "name": "Sebastian Tschan",
18 | "url": "https://blueimp.net"
19 | }
20 | ],
21 | "contributors": [
22 | {
23 | "name": "Paul Johnston",
24 | "url": "http://pajhome.org.uk/crypt/md5"
25 | }
26 | ],
27 | "repository": {
28 | "type": "git",
29 | "url": "git://github.com/blueimp/JavaScript-MD5.git"
30 | },
31 | "bugs": "https://github.com/blueimp/JavaScript-MD5/issues",
32 | "licenses": [
33 | {
34 | "type": "MIT",
35 | "url": "http://www.opensource.org/licenses/MIT"
36 | }
37 | ],
38 | "main": "js/md5.js",
39 | "ignore": [
40 | "/*.*",
41 | "css",
42 | "js/demo.js",
43 | "test"
44 | ],
45 | "_release": "1.1.0",
46 | "_resolution": {
47 | "type": "version",
48 | "tag": "1.1.0",
49 | "commit": "b187bf0abe24bacbca83ea4799978b78829e7914"
50 | },
51 | "_source": "git://github.com/blueimp/JavaScript-MD5.git",
52 | "_target": "~1.1.0",
53 | "_originalSource": "blueimp-md5",
54 | "_direct": true
55 | }
--------------------------------------------------------------------------------
/vendor/blueimp-md5/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "blueimp-md5",
3 | "version": "1.1.0",
4 | "title": "JavaScript MD5",
5 | "description": "JavaScript MD5 implementation.",
6 | "keywords": [
7 | "javascript",
8 | "md5"
9 | ],
10 | "homepage": "https://github.com/blueimp/JavaScript-MD5",
11 | "author": {
12 | "name": "Sebastian Tschan",
13 | "url": "https://blueimp.net"
14 | },
15 | "maintainers": [
16 | {
17 | "name": "Sebastian Tschan",
18 | "url": "https://blueimp.net"
19 | }
20 | ],
21 | "contributors": [
22 | {
23 | "name": "Paul Johnston",
24 | "url": "http://pajhome.org.uk/crypt/md5"
25 | }
26 | ],
27 | "repository": {
28 | "type": "git",
29 | "url": "git://github.com/blueimp/JavaScript-MD5.git"
30 | },
31 | "bugs": "https://github.com/blueimp/JavaScript-MD5/issues",
32 | "licenses": [
33 | {
34 | "type": "MIT",
35 | "url": "http://www.opensource.org/licenses/MIT"
36 | }
37 | ],
38 | "main": "js/md5.js",
39 | "ignore": [
40 | "/*.*",
41 | "css",
42 | "js/demo.js",
43 | "test"
44 | ]
45 | }
46 |
--------------------------------------------------------------------------------
/vendor/blueimp-tmpl/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "blueimp-tmpl",
3 | "version": "2.5.4",
4 | "title": "JavaScript Templates",
5 | "description": "< 1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers.",
6 | "keywords": [
7 | "javascript",
8 | "templates",
9 | "templating"
10 | ],
11 | "homepage": "https://github.com/blueimp/JavaScript-Templates",
12 | "author": {
13 | "name": "Sebastian Tschan",
14 | "url": "https://blueimp.net"
15 | },
16 | "maintainers": [
17 | {
18 | "name": "Sebastian Tschan",
19 | "url": "https://blueimp.net"
20 | }
21 | ],
22 | "repository": {
23 | "type": "git",
24 | "url": "git://github.com/blueimp/JavaScript-Templates.git"
25 | },
26 | "bugs": "https://github.com/blueimp/JavaScript-Templates/issues",
27 | "licenses": [
28 | {
29 | "type": "MIT",
30 | "url": "http://www.opensource.org/licenses/MIT"
31 | }
32 | ],
33 | "main": "js/tmpl.js",
34 | "ignore": [
35 | "/*.*",
36 | "css",
37 | "js/demo.js",
38 | "test"
39 | ],
40 | "_release": "2.5.4",
41 | "_resolution": {
42 | "type": "version",
43 | "tag": "2.5.4",
44 | "commit": "6be58f3f1c1083ef52b4e61a985709b489758f35"
45 | },
46 | "_source": "git://github.com/blueimp/JavaScript-Templates.git",
47 | "_target": ">=2.5.4",
48 | "_originalSource": "blueimp-tmpl"
49 | }
--------------------------------------------------------------------------------
/vendor/blueimp-tmpl/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "blueimp-tmpl",
3 | "version": "2.5.4",
4 | "title": "JavaScript Templates",
5 | "description": "< 1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers.",
6 | "keywords": [
7 | "javascript",
8 | "templates",
9 | "templating"
10 | ],
11 | "homepage": "https://github.com/blueimp/JavaScript-Templates",
12 | "author": {
13 | "name": "Sebastian Tschan",
14 | "url": "https://blueimp.net"
15 | },
16 | "maintainers": [
17 | {
18 | "name": "Sebastian Tschan",
19 | "url": "https://blueimp.net"
20 | }
21 | ],
22 | "repository": {
23 | "type": "git",
24 | "url": "git://github.com/blueimp/JavaScript-Templates.git"
25 | },
26 | "bugs": "https://github.com/blueimp/JavaScript-Templates/issues",
27 | "licenses": [
28 | {
29 | "type": "MIT",
30 | "url": "http://www.opensource.org/licenses/MIT"
31 | }
32 | ],
33 | "main": "js/tmpl.js",
34 | "ignore": [
35 | "/*.*",
36 | "css",
37 | "js/demo.js",
38 | "test"
39 | ]
40 | }
41 |
--------------------------------------------------------------------------------
/vendor/blueimp-tmpl/js/runtime.js:
--------------------------------------------------------------------------------
1 | /*
2 | * JavaScript Templates Runtime 2.4.1
3 | * https://github.com/blueimp/JavaScript-Templates
4 | *
5 | * Copyright 2011, Sebastian Tschan
6 | * https://blueimp.net
7 | *
8 | * Licensed under the MIT license:
9 | * http://www.opensource.org/licenses/MIT
10 | */
11 |
12 | /*jslint sloppy: true */
13 | /*global define */
14 |
15 | (function ($) {
16 | var tmpl = function (id, data) {
17 | var f = tmpl.cache[id];
18 | return data ? f(data, tmpl) : function (data) {
19 | return f(data, tmpl);
20 | };
21 | };
22 | tmpl.cache = {};
23 | tmpl.encReg = /[<>&"'\x00]/g;
24 | tmpl.encMap = {
25 | "<" : "<",
26 | ">" : ">",
27 | "&" : "&",
28 | "\"" : """,
29 | "'" : "'"
30 | };
31 | tmpl.encode = function (s) {
32 | /*jshint eqnull:true */
33 | return (s == null ? "" : "" + s).replace(
34 | tmpl.encReg,
35 | function (c) {
36 | return tmpl.encMap[c] || "";
37 | }
38 | );
39 | };
40 | if (typeof define === "function" && define.amd) {
41 | define(function () {
42 | return tmpl;
43 | });
44 | } else {
45 | $.tmpl = tmpl;
46 | }
47 | }(this));
48 |
--------------------------------------------------------------------------------
/vendor/blueimp-tmpl/js/tmpl.js:
--------------------------------------------------------------------------------
1 | /*
2 | * JavaScript Templates 2.4.1
3 | * https://github.com/blueimp/JavaScript-Templates
4 | *
5 | * Copyright 2011, Sebastian Tschan
6 | * https://blueimp.net
7 | *
8 | * Licensed under the MIT license:
9 | * http://www.opensource.org/licenses/MIT
10 | *
11 | * Inspired by John Resig's JavaScript Micro-Templating:
12 | * http://ejohn.org/blog/javascript-micro-templating/
13 | */
14 |
15 | /*jslint evil: true, regexp: true, unparam: true */
16 | /*global document, define */
17 |
18 | (function ($) {
19 | "use strict";
20 | var tmpl = function (str, data) {
21 | var f = !/[^\w\-\.:]/.test(str) ? tmpl.cache[str] = tmpl.cache[str] ||
22 | tmpl(tmpl.load(str)) :
23 | new Function(
24 | tmpl.arg + ',tmpl',
25 | "var _e=tmpl.encode" + tmpl.helper + ",_s='" +
26 | str.replace(tmpl.regexp, tmpl.func) +
27 | "';return _s;"
28 | );
29 | return data ? f(data, tmpl) : function (data) {
30 | return f(data, tmpl);
31 | };
32 | };
33 | tmpl.cache = {};
34 | tmpl.load = function (id) {
35 | return document.getElementById(id).innerHTML;
36 | };
37 | tmpl.regexp = /([\s'\\])(?!(?:[^{]|\{(?!%))*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g;
38 | tmpl.func = function (s, p1, p2, p3, p4, p5) {
39 | if (p1) { // whitespace, quote and backspace in HTML context
40 | return {
41 | "\n": "\\n",
42 | "\r": "\\r",
43 | "\t": "\\t",
44 | " " : " "
45 | }[p1] || "\\" + p1;
46 | }
47 | if (p2) { // interpolation: {%=prop%}, or unescaped: {%#prop%}
48 | if (p2 === "=") {
49 | return "'+_e(" + p3 + ")+'";
50 | }
51 | return "'+(" + p3 + "==null?'':" + p3 + ")+'";
52 | }
53 | if (p4) { // evaluation start tag: {%
54 | return "';";
55 | }
56 | if (p5) { // evaluation end tag: %}
57 | return "_s+='";
58 | }
59 | };
60 | tmpl.encReg = /[<>&"'\x00]/g;
61 | tmpl.encMap = {
62 | "<" : "<",
63 | ">" : ">",
64 | "&" : "&",
65 | "\"" : """,
66 | "'" : "'"
67 | };
68 | tmpl.encode = function (s) {
69 | /*jshint eqnull:true */
70 | return (s == null ? "" : "" + s).replace(
71 | tmpl.encReg,
72 | function (c) {
73 | return tmpl.encMap[c] || "";
74 | }
75 | );
76 | };
77 | tmpl.arg = "o";
78 | tmpl.helper = ",print=function(s,e){_s+=e?(s==null?'':s):_e(s);}" +
79 | ",include=function(s,d){_s+=tmpl(s,d);}";
80 | if (typeof define === "function" && define.amd) {
81 | define(function () {
82 | return tmpl;
83 | });
84 | } else {
85 | $.tmpl = tmpl;
86 | }
87 | }(this));
88 |
--------------------------------------------------------------------------------
/vendor/blueimp-tmpl/js/tmpl.min.js:
--------------------------------------------------------------------------------
1 | !function(a){"use strict";var b=function(a,c){var d=/[^\w\-\.:]/.test(a)?new Function(b.arg+",tmpl","var _e=tmpl.encode"+b.helper+",_s='"+a.replace(b.regexp,b.func)+"';return _s;"):b.cache[a]=b.cache[a]||b(b.load(a));return c?d(c,b):function(a){return d(a,b)}};b.cache={},b.load=function(a){return document.getElementById(a).innerHTML},b.regexp=/([\s'\\])(?!(?:[^{]|\{(?!%))*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g,b.func=function(a,b,c,d,e,f){return b?{"\n":"\\n","\r":"\\r"," ":"\\t"," ":" "}[b]||"\\"+b:c?"="===c?"'+_e("+d+")+'":"'+("+d+"==null?'':"+d+")+'":e?"';":f?"_s+='":void 0},b.encReg=/[<>&"'\x00]/g,b.encMap={"<":"<",">":">","&":"&",'"':""","'":"'"},b.encode=function(a){return(null==a?"":""+a).replace(b.encReg,function(a){return b.encMap[a]||""})},b.arg="o",b.helper=",print=function(s,e){_s+=e?(s==null?'':s):_e(s);},include=function(s,d){_s+=tmpl(s,d);}","function"==typeof define&&define.amd?define(function(){return b}):a.tmpl=b}(this);
--------------------------------------------------------------------------------
/vendor/jcrop/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jcrop",
3 | "homepage": "https://github.com/tapmodo/Jcrop",
4 | "version": "0.9.12",
5 | "_release": "0.9.12",
6 | "_resolution": {
7 | "type": "version",
8 | "tag": "v0.9.12",
9 | "commit": "1902fbc6afa14481dc019a17e0dcb7d62b808a98"
10 | },
11 | "_source": "git://github.com/tapmodo/Jcrop.git",
12 | "_target": "~0.9.12",
13 | "_originalSource": "jcrop",
14 | "_direct": true
15 | }
--------------------------------------------------------------------------------
/vendor/jcrop/MIT-LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011 Tapmodo Interactive LLC,
2 | http://github.com/tapmodo/Jcrop
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining
5 | a copy of this software and associated documentation files (the
6 | "Software"), to deal in the Software without restriction, including
7 | without limitation the rights to use, copy, modify, merge, publish,
8 | distribute, sublicense, and/or sell copies of the Software, and to
9 | permit persons to whom the Software is furnished to do so, subject to
10 | the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/vendor/jcrop/README.md:
--------------------------------------------------------------------------------
1 | Jcrop Image Cropping Plugin
2 | ===========================
3 |
4 | Jcrop is the quick and easy way to add image cropping functionality to
5 | your web application. It combines the ease-of-use of a typical jQuery
6 | plugin with a powerful cross-platform DHTML cropping engine that is
7 | faithful to familiar desktop graphics applications.
8 |
9 | Cross-platform Compatibility
10 | ----------------------------
11 |
12 | * Firefox 2+
13 | * Safari 3+
14 | * Opera 9.5+
15 | * Google Chrome 0.2+
16 | * Internet Explorer 6+
17 |
18 | Feature Overview
19 | ----------------
20 |
21 | * Attaches unobtrusively to any image
22 | * Supports aspect ratio locking
23 | * Supports minSize/maxSize setting
24 | * Callbacks for selection done, or while moving
25 | * Keyboard support for nudging selection
26 | * API features to create interactivity, including animation
27 | * Support for CSS styling
28 | * Experimental touch-screen support (iOS, Android, etc)
29 |
30 | Contributors
31 | ============
32 |
33 | **Special thanks to the following contributors:**
34 |
35 | * [Bruno Agutoli](mailto:brunotla1@gmail.com)
36 | * dhorrigan
37 | * Phil-B
38 | * jaymecd
39 | * all others who have committed their time and effort to help improve Jcrop
40 |
41 | MIT License
42 | ===========
43 |
44 | **Jcrop is free software under MIT License.**
45 |
46 | #### Copyright (c) 2008-2012 Tapmodo Interactive LLC,
http://github.com/tapmodo/Jcrop
47 |
48 | Permission is hereby granted, free of charge, to any person obtaining
49 | a copy of this software and associated documentation files (the
50 | "Software"), to deal in the Software without restriction, including
51 | without limitation the rights to use, copy, modify, merge, publish,
52 | distribute, sublicense, and/or sell copies of the Software, and to
53 | permit persons to whom the Software is furnished to do so, subject to
54 | the following conditions:
55 |
56 | The above copyright notice and this permission notice shall be
57 | included in all copies or substantial portions of the Software.
58 |
59 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
60 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
61 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
62 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
63 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
64 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
65 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
66 |
67 |
--------------------------------------------------------------------------------
/vendor/jcrop/css/Jcrop.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/owncloud-archive/contacts/9ba2e667ae8c7ea36d8c4a4c3413c374beb24b1b/vendor/jcrop/css/Jcrop.gif
--------------------------------------------------------------------------------
/vendor/jcrop/css/jquery.Jcrop.min.css:
--------------------------------------------------------------------------------
1 | /* jquery.Jcrop.min.css v0.9.12 (build:20130126) */
2 | .jcrop-holder{direction:ltr;text-align:left;}
3 | .jcrop-vline,.jcrop-hline{background:#FFF url(Jcrop.gif);font-size:0;position:absolute;}
4 | .jcrop-vline{height:100%;width:1px!important;}
5 | .jcrop-vline.right{right:0;}
6 | .jcrop-hline{height:1px!important;width:100%;}
7 | .jcrop-hline.bottom{bottom:0;}
8 | .jcrop-tracker{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;height:100%;width:100%;}
9 | .jcrop-handle{background-color:#333;border:1px #EEE solid;font-size:1px;height:7px;width:7px;}
10 | .jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0;}
11 | .jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px;}
12 | .jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%;}
13 | .jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%;}
14 | .jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0;}
15 | .jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0;}
16 | .jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0;}
17 | .jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px;}
18 | .jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%;}
19 | .jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px;}
20 | .jcrop-dragbar.ord-n{margin-top:-4px;}
21 | .jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px;}
22 | .jcrop-dragbar.ord-e{margin-right:-4px;right:0;}
23 | .jcrop-dragbar.ord-w{margin-left:-4px;}
24 | .jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline{background:#FFF;filter:alpha(opacity=70)!important;opacity:.70!important;}
25 | .jcrop-light .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#000;border-color:#FFF;border-radius:3px;}
26 | .jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline{background:#000;filter:alpha(opacity=70)!important;opacity:.7!important;}
27 | .jcrop-dark .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#FFF;border-color:#000;border-radius:3px;}
28 | .solid-line .jcrop-vline,.solid-line .jcrop-hline{background:#FFF;}
29 | .jcrop-holder img,img.jcrop-preview{max-width:none;}
30 |
--------------------------------------------------------------------------------
/vendor/jquery.onfontresize/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery.onfontresize",
3 | "_cacheHeaders": {
4 | "ETag": "\"876e3-733-4f611014f2a87\"",
5 | "Last-Modified": "Wed, 02 Apr 2014 15:33:23 GMT",
6 | "Content-Length": "1843",
7 | "Content-Type": "text/javascript"
8 | },
9 | "_release": "e-tag:876e3-733",
10 | "main": "index.js",
11 | "_source": "http://www.tomdeater.com/jquery/onfontresize/jquery.onfontresize.js",
12 | "_target": "*",
13 | "_originalSource": "http://www.tomdeater.com/jquery/onfontresize/jquery.onfontresize.js",
14 | "_direct": true
15 | }
--------------------------------------------------------------------------------
/vendor/jquery.onfontresize/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * Copyright (c) 2008 Tom Deater (http://www.tomdeater.com)
4 | * Licensed under the MIT License:
5 | * http://www.opensource.org/licenses/mit-license.php
6 | *
7 | * uses an iframe, sized in ems, to detect font size changes then trigger a "fontresize" event
8 | * heavily based on code by Hedger Wang: http://www.hedgerwow.com/360/dhtml/js-onfontresize.html
9 | *
10 | * "fontresize" event is triggered on the document object
11 | * subscribe to event using: $(document).bind("fontresize", function (event, data) {});
12 | * "data" contains the current size of 1 em unit (in pixels)
13 | *
14 | */
15 |
16 | jQuery.onFontResize = (function ($) {
17 | // initialize
18 | $(document).ready(function () {
19 | var $resizeframe = $("")
20 | .attr("id", "frame-onFontResize" + Date.parse(new Date))
21 | .addClass("div-onfontresize")
22 | .css({width: "100em", height: "10px", position: "absolute", borderWidth: 0, top: "-5000px", left: "-5000px"})
23 | .appendTo("body");
24 |
25 | if ($.browser.msie) {
26 | // use IE's native iframe resize event
27 | $resizeframe.bind("resize", function () {
28 | $.onFontResize.trigger($resizeframe[0].offsetWidth / 100);
29 | });
30 | } else {
31 | // everyone else uses script inside the iframe to detect resize
32 | var doc = $resizeframe[0].contentWindow || $resizeframe[0].contentDocument || $resizeframe[0].document;
33 | doc = doc.document || doc;
34 | doc.open();
35 | doc.write('window.onload = function(){var em = parent.jQuery(".div-onfontresize")[0];window.onresize = function(){if(parent.jQuery.onFontResize){parent.jQuery.onFontResize.trigger(em.offsetWidth / 100);}}};');
36 | doc.close();
37 | }
38 |
39 | jQuery.onFontResize.initialSize = $resizeframe[0].offsetWidth / 100;
40 | });
41 |
42 | return {
43 | // public method, so it can be called from within the iframe
44 | trigger: function (em) {
45 | $(document).trigger("fontresize", [em]);
46 | }
47 | };
48 | }) (jQuery);
--------------------------------------------------------------------------------
/vendor/jquery/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery",
3 | "version": "2.1.1",
4 | "main": "dist/jquery.js",
5 | "license": "MIT",
6 | "ignore": [
7 | "**/.*",
8 | "build",
9 | "speed",
10 | "test",
11 | "*.md",
12 | "AUTHORS.txt",
13 | "Gruntfile.js",
14 | "package.json"
15 | ],
16 | "devDependencies": {
17 | "sizzle": "1.10.19",
18 | "requirejs": "2.1.10",
19 | "qunit": "1.14.0",
20 | "sinon": "1.8.1"
21 | },
22 | "keywords": [
23 | "jquery",
24 | "javascript",
25 | "library"
26 | ],
27 | "homepage": "https://github.com/jquery/jquery",
28 | "_release": "2.1.1",
29 | "_resolution": {
30 | "type": "version",
31 | "tag": "2.1.1",
32 | "commit": "4dec426aa2a6cbabb1b064319ba7c272d594a688"
33 | },
34 | "_source": "git://github.com/jquery/jquery.git",
35 | "_target": ">=1.8.0",
36 | "_originalSource": "jquery"
37 | }
--------------------------------------------------------------------------------
/vendor/jquery/MIT-LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright 2014 jQuery Foundation and other contributors
2 | http://jquery.com/
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining
5 | a copy of this software and associated documentation files (the
6 | "Software"), to deal in the Software without restriction, including
7 | without limitation the rights to use, copy, modify, merge, publish,
8 | distribute, sublicense, and/or sell copies of the Software, and to
9 | permit persons to whom the Software is furnished to do so, subject to
10 | the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be
13 | included in all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/vendor/jquery/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery",
3 | "version": "2.1.1",
4 | "main": "dist/jquery.js",
5 | "license": "MIT",
6 | "ignore": [
7 | "**/.*",
8 | "build",
9 | "speed",
10 | "test",
11 | "*.md",
12 | "AUTHORS.txt",
13 | "Gruntfile.js",
14 | "package.json"
15 | ],
16 | "devDependencies": {
17 | "sizzle": "1.10.19",
18 | "requirejs": "2.1.10",
19 | "qunit": "1.14.0",
20 | "sinon": "1.8.1"
21 | },
22 | "keywords": [
23 | "jquery",
24 | "javascript",
25 | "library"
26 | ]
27 | }
28 |
--------------------------------------------------------------------------------
/vendor/jquery/src/ajax/jsonp.js:
--------------------------------------------------------------------------------
1 | define([
2 | "../core",
3 | "./var/nonce",
4 | "./var/rquery",
5 | "../ajax"
6 | ], function( jQuery, nonce, rquery ) {
7 |
8 | var oldCallbacks = [],
9 | rjsonp = /(=)\?(?=&|$)|\?\?/;
10 |
11 | // Default jsonp settings
12 | jQuery.ajaxSetup({
13 | jsonp: "callback",
14 | jsonpCallback: function() {
15 | var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
16 | this[ callback ] = true;
17 | return callback;
18 | }
19 | });
20 |
21 | // Detect, normalize options and install callbacks for jsonp requests
22 | jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
23 |
24 | var callbackName, overwritten, responseContainer,
25 | jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?
26 | "url" :
27 | typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data"
28 | );
29 |
30 | // Handle iff the expected data type is "jsonp" or we have a parameter to set
31 | if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
32 |
33 | // Get callback name, remembering preexisting value associated with it
34 | callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?
35 | s.jsonpCallback() :
36 | s.jsonpCallback;
37 |
38 | // Insert callback into url or form data
39 | if ( jsonProp ) {
40 | s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );
41 | } else if ( s.jsonp !== false ) {
42 | s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
43 | }
44 |
45 | // Use data converter to retrieve json after script execution
46 | s.converters["script json"] = function() {
47 | if ( !responseContainer ) {
48 | jQuery.error( callbackName + " was not called" );
49 | }
50 | return responseContainer[ 0 ];
51 | };
52 |
53 | // force json dataType
54 | s.dataTypes[ 0 ] = "json";
55 |
56 | // Install callback
57 | overwritten = window[ callbackName ];
58 | window[ callbackName ] = function() {
59 | responseContainer = arguments;
60 | };
61 |
62 | // Clean-up function (fires after converters)
63 | jqXHR.always(function() {
64 | // Restore preexisting value
65 | window[ callbackName ] = overwritten;
66 |
67 | // Save back as free
68 | if ( s[ callbackName ] ) {
69 | // make sure that re-using the options doesn't screw things around
70 | s.jsonpCallback = originalSettings.jsonpCallback;
71 |
72 | // save the callback name for future use
73 | oldCallbacks.push( callbackName );
74 | }
75 |
76 | // Call if it was a function and we have a response
77 | if ( responseContainer && jQuery.isFunction( overwritten ) ) {
78 | overwritten( responseContainer[ 0 ] );
79 | }
80 |
81 | responseContainer = overwritten = undefined;
82 | });
83 |
84 | // Delegate to script
85 | return "script";
86 | }
87 | });
88 |
89 | });
90 |
--------------------------------------------------------------------------------
/vendor/jquery/src/ajax/load.js:
--------------------------------------------------------------------------------
1 | define([
2 | "../core",
3 | "../core/parseHTML",
4 | "../ajax",
5 | "../traversing",
6 | "../manipulation",
7 | "../selector",
8 | // Optional event/alias dependency
9 | "../event/alias"
10 | ], function( jQuery ) {
11 |
12 | // Keep a copy of the old load method
13 | var _load = jQuery.fn.load;
14 |
15 | /**
16 | * Load a url into a page
17 | */
18 | jQuery.fn.load = function( url, params, callback ) {
19 | if ( typeof url !== "string" && _load ) {
20 | return _load.apply( this, arguments );
21 | }
22 |
23 | var selector, type, response,
24 | self = this,
25 | off = url.indexOf(" ");
26 |
27 | if ( off >= 0 ) {
28 | selector = jQuery.trim( url.slice( off ) );
29 | url = url.slice( 0, off );
30 | }
31 |
32 | // If it's a function
33 | if ( jQuery.isFunction( params ) ) {
34 |
35 | // We assume that it's the callback
36 | callback = params;
37 | params = undefined;
38 |
39 | // Otherwise, build a param string
40 | } else if ( params && typeof params === "object" ) {
41 | type = "POST";
42 | }
43 |
44 | // If we have elements to modify, make the request
45 | if ( self.length > 0 ) {
46 | jQuery.ajax({
47 | url: url,
48 |
49 | // if "type" variable is undefined, then "GET" method will be used
50 | type: type,
51 | dataType: "html",
52 | data: params
53 | }).done(function( responseText ) {
54 |
55 | // Save response for use in complete callback
56 | response = arguments;
57 |
58 | self.html( selector ?
59 |
60 | // If a selector was specified, locate the right elements in a dummy div
61 | // Exclude scripts to avoid IE 'Permission Denied' errors
62 | jQuery("").append( jQuery.parseHTML( responseText ) ).find( selector ) :
63 |
64 | // Otherwise use the full result
65 | responseText );
66 |
67 | }).complete( callback && function( jqXHR, status ) {
68 | self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );
69 | });
70 | }
71 |
72 | return this;
73 | };
74 |
75 | });
76 |
--------------------------------------------------------------------------------
/vendor/jquery/src/ajax/parseJSON.js:
--------------------------------------------------------------------------------
1 | define([
2 | "../core"
3 | ], function( jQuery ) {
4 |
5 | // Support: Android 2.3
6 | // Workaround failure to string-cast null input
7 | jQuery.parseJSON = function( data ) {
8 | return JSON.parse( data + "" );
9 | };
10 |
11 | return jQuery.parseJSON;
12 |
13 | });
14 |
--------------------------------------------------------------------------------
/vendor/jquery/src/ajax/parseXML.js:
--------------------------------------------------------------------------------
1 | define([
2 | "../core"
3 | ], function( jQuery ) {
4 |
5 | // Cross-browser xml parsing
6 | jQuery.parseXML = function( data ) {
7 | var xml, tmp;
8 | if ( !data || typeof data !== "string" ) {
9 | return null;
10 | }
11 |
12 | // Support: IE9
13 | try {
14 | tmp = new DOMParser();
15 | xml = tmp.parseFromString( data, "text/xml" );
16 | } catch ( e ) {
17 | xml = undefined;
18 | }
19 |
20 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {
21 | jQuery.error( "Invalid XML: " + data );
22 | }
23 | return xml;
24 | };
25 |
26 | return jQuery.parseXML;
27 |
28 | });
29 |
--------------------------------------------------------------------------------
/vendor/jquery/src/ajax/script.js:
--------------------------------------------------------------------------------
1 | define([
2 | "../core",
3 | "../ajax"
4 | ], function( jQuery ) {
5 |
6 | // Install script dataType
7 | jQuery.ajaxSetup({
8 | accepts: {
9 | script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
10 | },
11 | contents: {
12 | script: /(?:java|ecma)script/
13 | },
14 | converters: {
15 | "text script": function( text ) {
16 | jQuery.globalEval( text );
17 | return text;
18 | }
19 | }
20 | });
21 |
22 | // Handle cache's special case and crossDomain
23 | jQuery.ajaxPrefilter( "script", function( s ) {
24 | if ( s.cache === undefined ) {
25 | s.cache = false;
26 | }
27 | if ( s.crossDomain ) {
28 | s.type = "GET";
29 | }
30 | });
31 |
32 | // Bind script tag hack transport
33 | jQuery.ajaxTransport( "script", function( s ) {
34 | // This transport only deals with cross domain requests
35 | if ( s.crossDomain ) {
36 | var script, callback;
37 | return {
38 | send: function( _, complete ) {
39 | script = jQuery("