Changeset 92
- Timestamp:
- 11/19/08 07:23:43 (4 years ago)
- Location:
- trunk/com/kelvinluck/flashr/core
- Files:
-
- 4 modified
-
Flashr.as (modified) (4 diffs)
-
FlashrRequest.as (modified) (1 diff)
-
FlashrRequestQueue.as (modified) (1 diff)
-
FlashrResponseHistory.as (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/com/kelvinluck/flashr/core/Flashr.as
r88 r92 332 332 function get cache():FlashrCache 333 333 { 334 return FlashrCache.getInstance(); 335 } 334 return _cache; 335 } 336 336 337 function set cache(cache:FlashrCache):Void {} 337 338 private var _cache:FlashrCache; … … 343 344 function get queue():FlashrRequestQueue 344 345 { 345 return FlashrRequestQueue.getInstance();346 return _queue; 346 347 } 347 348 function set queue(q:FlashrRequestQueue):Void {} 349 private var _queue:FlashrRequestQueue; 348 350 349 351 /** … … 378 380 function get history():FlashrResponseHistory 379 381 { 380 return FlashrResponseHistory.getInstance();382 return _history; 381 383 } 382 384 function set history(frh:FlashrResponseHistory) {} 385 private var _history:FlashrResponseHistory; 383 386 384 387 /** … … 401 404 { 402 405 LogWrapper.getLog().debug(this+" created"); 406 _cache = FlashrCache.getInstance(); 407 _queue = FlashrRequestQueue.getInstance(); 408 _history = FlashrResponseHistory.getInstance(); 403 409 awaitingResponse = false; 404 410 EventDispatcher.initialize(this); -
trunk/com/kelvinluck/flashr/core/FlashrRequest.as
r82 r92 94 94 { 95 95 if (__querystring == undefined) { 96 __querystring = _prepareQuerystring(); 96 // to fix a dodgy bug in the CS3 debugger where the getter is called before the constructor when debugging!! 97 if (method) { 98 __querystring = _prepareQuerystring(); 99 } 97 100 } 98 101 return __querystring; -
trunk/com/kelvinluck/flashr/core/FlashrRequestQueue.as
r82 r92 53 53 private function FlashrRequestQueue() 54 54 { 55 LogWrapper.getLog().debug(this+" created"); 55 56 _priorityQueue = new PriorityQueue(); 56 57 } -
trunk/com/kelvinluck/flashr/core/FlashrResponseHistory.as
r79 r92 1 import com.kelvinluck.util.LogWrapper; 1 2 import com.kelvinluck.flashr.core.FlashrResponseEvent; 2 3 /** … … 55 56 private function FlashrResponseHistory() 56 57 { 58 LogWrapper.getLog().debug(this+" created"); 57 59 _history = []; 58 60 }