Skip to content

Commit

Permalink
require()->sc_require()
Browse files Browse the repository at this point in the history
  • Loading branch information
dangoor authored and Charles Jolley committed Nov 18, 2009
1 parent fb11537 commit 74f31e2
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion frameworks/desktop/debug/drag.js
Expand Up @@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================

require('system/drag') ;
sc_require('system/drag') ;

SC.Drag.mixin(
/** @scope SC.Drag */ {
Expand Down
4 changes: 2 additions & 2 deletions frameworks/desktop/panes/menu.js
Expand Up @@ -4,8 +4,8 @@
// Portions ©2008-2009 Apple Inc. All rights reserved.
// License: Licened under MIT license (see license.js)
// ==========================================================================
require('panes/picker');
require('views/menu_item');
sc_require('panes/picker');
sc_require('views/menu_item');

// Constants
SC.BENCHMARK_MENU_PANE_RENDER = YES ;
Expand Down
2 changes: 1 addition & 1 deletion frameworks/desktop/protocols/drag_data_source.js
Expand Up @@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================

require('system/drag') ;
sc_require('system/drag') ;


/**
Expand Down
2 changes: 1 addition & 1 deletion frameworks/desktop/protocols/drag_source.js
Expand Up @@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================

require('system/drag') ;
sc_require('system/drag') ;

/**
@mixin
Expand Down
2 changes: 1 addition & 1 deletion frameworks/desktop/protocols/drop_target.js
Expand Up @@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================

require('system/drag');
sc_require('system/drag');

/**
@mixin
Expand Down
2 changes: 1 addition & 1 deletion frameworks/desktop/system/undo_manager.js
Expand Up @@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================

require('core');
sc_require('core');

/**
@class
Expand Down
2 changes: 1 addition & 1 deletion frameworks/desktop/views/grid.js
Expand Up @@ -2,7 +2,7 @@
// SC.GridView
// ==========================================================================

require('views/list') ;
sc_require('views/list') ;

/** @class
Expand Down
2 changes: 1 addition & 1 deletion frameworks/foundation/controllers/object.js
Expand Up @@ -5,7 +5,7 @@
// License: Licened under MIT license (see license.js)
// ==========================================================================

require('controllers/controller') ;
sc_require('controllers/controller') ;

/** @class
Expand Down
2 changes: 1 addition & 1 deletion frameworks/foundation/panes/main.js
Expand Up @@ -5,7 +5,7 @@
// License: Licened under MIT license (see license.js)
// ==========================================================================

require('panes/pane');
sc_require('panes/pane');

/** @class
Expand Down
2 changes: 1 addition & 1 deletion frameworks/foundation/panes/pane.js
Expand Up @@ -5,7 +5,7 @@
// License: Licened under MIT license (see license.js)
// ==========================================================================

require('views/view');
sc_require('views/view');

/** @class
A Pane is like a regular view except that it does not need to live within a
Expand Down
2 changes: 1 addition & 1 deletion frameworks/foundation/system/core_query.js
Expand Up @@ -6,7 +6,7 @@
// ==========================================================================
/*globals CQ*/

require('system/builder') ;
sc_require('system/builder') ;

/**
CoreQuery is a simplified DOM manipulation library used internally by
Expand Down
2 changes: 1 addition & 1 deletion frameworks/foundation/system/root_responder.js
Expand Up @@ -5,7 +5,7 @@
// License: Licened under MIT license (see license.js)
// ==========================================================================

require('system/ready');
sc_require('system/ready');

/** @class
Expand Down

0 comments on commit 74f31e2

Please sign in to comment.