Browse Source

rebuild dist

pull/2717/head
jlukic 9 years ago
parent
commit
2b41fda2a9
4 changed files with 26 additions and 8 deletions
  1. 15
      dist/components/api.js
  2. 2
      dist/components/api.min.js
  3. 15
      dist/semantic.js
  4. 2
      dist/semantic.min.js

15
dist/components/api.js

@ -514,11 +514,20 @@ $.api = $.fn.api = function(parameters) {
}
settings.onSuccess.call(context, response, $module, xhr);
},
complete: function(maybeResponse, xhr) {
complete: function(firstParameter, secondParameter) {
var
// ajax deferred returns either response or xhr depending on success/fail
response = module.get.responseFromXHR(maybeResponse)
xhr,
response
;
// have to guess callback parameters based on request success
if( module.was.succesful() ) {
response = firstParameter;
xhr = secondParameter;
}
else {
xhr = firstParameter;
response = module.get.responseFromXHR(xhr);
}
module.remove.loading();
settings.onComplete.call(context, response, $module, xhr);
},

2
dist/components/api.min.js
File diff suppressed because it is too large
View File

15
dist/semantic.js

@ -18384,11 +18384,20 @@ $.api = $.fn.api = function(parameters) {
}
settings.onSuccess.call(context, response, $module, xhr);
},
complete: function(maybeResponse, xhr) {
complete: function(firstParameter, secondParameter) {
var
// ajax deferred returns either response or xhr depending on success/fail
response = module.get.responseFromXHR(maybeResponse)
xhr,
response
;
// have to guess callback parameters based on request success
if( module.was.succesful() ) {
response = firstParameter;
xhr = secondParameter;
}
else {
xhr = firstParameter;
response = module.get.responseFromXHR(xhr);
}
module.remove.loading();
settings.onComplete.call(context, response, $module, xhr);
},

2
dist/semantic.min.js
File diff suppressed because it is too large
View File

Loading…
Cancel
Save