mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
Merge branch 'master' of git://github.com/angular/angular.js
This commit is contained in:
commit
060c18c796
2 changed files with 9 additions and 2 deletions
|
|
@ -282,7 +282,7 @@ function wireAngular(element, config) {
|
|||
var server = config['database'] =="$MEMORY" ?
|
||||
new FrameServer(window) :
|
||||
new Server(config['server'], jQuery['getScript']);
|
||||
server = new VisualServer(server, new Status(element.find('body')), onUpdate);
|
||||
server = new VisualServer(server, new NullStatus(element.find('body')), onUpdate);
|
||||
var users = new Users(server, controlBar);
|
||||
var databasePath = '/data/' + config['database'];
|
||||
var post = function(request, callback){
|
||||
|
|
@ -368,4 +368,4 @@ angular['compile'] = function(element, config) {
|
|||
configureJQueryPlugins();
|
||||
|
||||
return wireAngular(jQuery(element), config);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -775,6 +775,13 @@ PopUp.prototype = {
|
|||
// Status
|
||||
//////////////////////////////////
|
||||
|
||||
function NullStatus(body) {
|
||||
};
|
||||
|
||||
NullStatus.prototype = {
|
||||
beginRequest:function(){},
|
||||
endRequest:function(){}
|
||||
};
|
||||
|
||||
function Status(body) {
|
||||
this.requestCount = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue