mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-05 15:32:56 +02:00
files_reader: v1.0.0, see CHANGELOG and appinfo/info.xml for changes and new features
This commit is contained in:
parent
30f758d419
commit
aa85edee22
65 changed files with 13549 additions and 539 deletions
18
files_reader/vendor/jquery/put-delete.js
vendored
Normal file
18
files_reader/vendor/jquery/put-delete.js
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
jQuery.each( [ "put", "delete" ], function( i, method ) {
|
||||
jQuery[ method ] = function( url, data, callback, type ) {
|
||||
if ( jQuery.isFunction( data ) ) {
|
||||
type = type || callback;
|
||||
callback = data;
|
||||
data = undefined;
|
||||
}
|
||||
|
||||
return jQuery.ajax({
|
||||
url: url,
|
||||
type: method,
|
||||
dataType: type,
|
||||
data: data,
|
||||
success: callback
|
||||
});
|
||||
};
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue