1 // ==========================================================================
  2 // Project:   SproutCore - JavaScript Application Framework
  3 // Copyright: ©2006-2011 Strobe Inc. and contributors.
  4 //            Portions ©2008-2011 Apple Inc. All rights reserved.
  5 // License:   Licensed under MIT license (see license.js)
  6 // ==========================================================================
  7 // ==========================================================================
  8 // Project:   SC.pageFilesController
  9 // ==========================================================================
 10 /*globals SC */
 11 
 12 /**
 13 
 14   in `suppressMain` mode all page files register with this array controller
 15 
 16   @extends SC.Object
 17 */
 18 SC.pageFilesController = SC.ArrayController.create(
 19 /** @scope SC.pageFilesController.prototype */ {
 20 
 21 }) ;
 22 SC.pageFilesController.mixin({
 23   pages: [],
 24 
 25   register: function(page){
 26     SC.pageFilesController.pages.pushObject(page);
 27   }
 28 });
 29