Fixed ajax name spacing issue. Added controller based .abort() on remove of controller from DOM (improved memory management).
This commit is contained in:
parent
d4caa3fbfc
commit
8295d19e35
1 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
// ajax
|
||||
App.Com.ajax({
|
||||
App.Ajax.request({
|
||||
type: 'GET',
|
||||
url: '/assets/tests/ajax-test.json',
|
||||
success: function (data) {
|
||||
|
@ -18,7 +18,7 @@ App.Com.ajax({
|
|||
});
|
||||
|
||||
// ajax queueing
|
||||
App.Com.ajax({
|
||||
App.Ajax.request({
|
||||
type: 'GET',
|
||||
url: '/tests/wait/2',
|
||||
queue: true,
|
||||
|
@ -38,7 +38,7 @@ App.Com.ajax({
|
|||
});
|
||||
}
|
||||
});
|
||||
App.Com.ajax({
|
||||
App.Ajax.request({
|
||||
type: 'GET',
|
||||
url: '/tests/wait/1',
|
||||
queue: true,
|
||||
|
@ -60,7 +60,7 @@ App.Com.ajax({
|
|||
});
|
||||
|
||||
// ajax parallel
|
||||
App.Com.ajax({
|
||||
App.Ajax.request({
|
||||
type: 'GET',
|
||||
url: '/tests/wait/2',
|
||||
success: function (data) {
|
||||
|
@ -79,7 +79,7 @@ App.Com.ajax({
|
|||
});
|
||||
}
|
||||
});
|
||||
App.Com.ajax({
|
||||
App.Ajax.request({
|
||||
type: 'GET',
|
||||
url: '/tests/wait/1',
|
||||
success: function (data) {
|
||||
|
@ -210,7 +210,7 @@ App.Delay.set( function() {
|
|||
App.Interval.clear('interval-test1')
|
||||
});
|
||||
},
|
||||
2500
|
||||
2400
|
||||
);
|
||||
App.Delay.set( function() {
|
||||
test( "interval - test 1 - 1/1", function() {
|
||||
|
@ -240,7 +240,7 @@ App.Delay.set( function() {
|
|||
App.Interval.clearLevel('page')
|
||||
});
|
||||
},
|
||||
2500
|
||||
2400
|
||||
);
|
||||
App.Delay.set( function() {
|
||||
test( "interval - test 2 - 1/1", function() {
|
||||
|
|
Loading…
Reference in a new issue