Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

require()->sc_require()

  • Loading branch information...
commit c9f77618cd20341153e02e42a7712bd99d9d3d68 1 parent 783baf0
Kevin Dangoor dangoor authored
2  frameworks/desktop/debug/drag.js
View
@@ -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 */ {
4 frameworks/desktop/panes/menu.js
View
@@ -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 ;
2  frameworks/desktop/protocols/drag_data_source.js
View
@@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================
-require('system/drag') ;
+sc_require('system/drag') ;
/**
2  frameworks/desktop/protocols/drag_source.js
View
@@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================
-require('system/drag') ;
+sc_require('system/drag') ;
/**
@mixin
2  frameworks/desktop/protocols/drop_target.js
View
@@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================
-require('system/drag');
+sc_require('system/drag');
/**
@mixin
2  frameworks/desktop/system/undo_manager.js
View
@@ -4,7 +4,7 @@
// Portions copyright ©2008 Apple Inc. All rights reserved.
// ========================================================================
-require('core');
+sc_require('core');
/**
@class
2  frameworks/desktop/views/grid.js
View
@@ -2,7 +2,7 @@
// SC.GridView
// ==========================================================================
-require('views/list') ;
+sc_require('views/list') ;
/** @class
2  frameworks/foundation/controllers/object.js
View
@@ -5,7 +5,7 @@
// License: Licened under MIT license (see license.js)
// ==========================================================================
-require('controllers/controller') ;
+sc_require('controllers/controller') ;
/** @class
2  frameworks/foundation/panes/main.js
View
@@ -5,7 +5,7 @@
// License: Licened under MIT license (see license.js)
// ==========================================================================
-require('panes/pane');
+sc_require('panes/pane');
/** @class
2  frameworks/foundation/panes/pane.js
View
@@ -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
2  frameworks/foundation/system/core_query.js
View
@@ -6,7 +6,7 @@
// ==========================================================================
/*globals CQ*/
-require('system/builder') ;
+sc_require('system/builder') ;
/**
CoreQuery is a simplified DOM manipulation library used internally by
2  frameworks/foundation/system/root_responder.js
View
@@ -5,7 +5,7 @@
// License: Licened under MIT license (see license.js)
// ==========================================================================
-require('system/ready');
+sc_require('system/ready');
/** @class
Please sign in to comment.
Something went wrong with that request. Please try again.