Permalink
Browse files

removed BLOSSOM global access

  • Loading branch information...
1 parent e85936c commit 15d9c54f4bc0197ca4ab92756716684c6a1c4de5 @erichocean erichocean committed Mar 15, 2012
@@ -3,12 +3,10 @@
// Copyright: ©2012 Fohr Motion Picture Studios. All rights reserved.
// License: Licensed under the GPLv3 license (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM sc_assert */
+/*globals sc_assert */
sc_require('behaviors/behavior') ;
-if (BLOSSOM) {
-
SC.GenericButtonBehavior = SC.Behavior.extend({
// Required
@@ -109,5 +107,3 @@ SC.GenericButtonBehavior = SC.Behavior.extend({
actions: ['cancel', 'confirm']
});
-
-} // BLOSSOM
@@ -3,12 +3,10 @@
// Copyright: ©2012 Fohr Motion Picture Studios. All rights reserved.
// License: Licensed under the GPLv3 license (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM sc_assert */
+/*globals sc_assert */
sc_require('behaviors/generic_button');
-if (BLOSSOM) {
-
SC.MouseButtonBehavior = SC.GenericButtonBehavior.extend({
// Required. All named states MUST be unique within the hierarchy. State
@@ -74,5 +72,3 @@ SC.MouseButtonBehavior = SC.GenericButtonBehavior.extend({
}
});
-
-} // BLOSSOM
@@ -3,12 +3,10 @@
// Copyright: ©2012 Fohr Motion Picture Studios. All rights reserved.
// License: Licensed under the GPLv3 license (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM sc_assert */
+/*globals sc_assert */
sc_require('behaviors/generic_button');
-if (BLOSSOM) {
-
SC.TouchButtonBehavior = SC.GenericButtonBehavior.extend({
// Required. All named states MUST be unique within the hierarchy. State
@@ -65,5 +63,3 @@ SC.TouchButtonBehavior = SC.GenericButtonBehavior.extend({
}
});
-
-} // BLOSSOM
@@ -3,7 +3,6 @@
// Copyright: ©2012 Fohr Motion Picture Studios. All rights reserved.
// License: Licensed under the GPLv3 license (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM */
// Blossom's SC.ShapeLayer class was heavily inspired by KineticJS.
/**
@@ -3,7 +3,6 @@
// Copyright: ©2012 Fohr Motion Picture Studios. All rights reserved.
// License: Licensed under the GPLv3 license (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM */
sc_require('media/media');
@@ -3,7 +3,6 @@
// Copyright: ©2012 Fohr Motion Picture Studios. All rights reserved.
// License: Licensed under the GPLv3 license (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM */
SC.Image = SC.Object.extend({
@@ -3,7 +3,6 @@
// Copyright: ©2012 Fohr Motion Picture Studios. All rights reserved.
// License: Licensed under the GPLv3 license (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM */
SC.Media = SC.Object.extend({
@@ -3,7 +3,6 @@
// Copyright: ©2012 Fohr Motion Picture Studios. All rights reserved.
// License: Licensed under the GPLv3 license (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM */
sc_require('media/media');
@@ -4,7 +4,6 @@
// Portions ©2008-2010 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
-/*globals BLOSSOM */
SC.TOGGLE_BEHAVIOR = 'toggle';
SC.PUSH_BEHAVIOR = 'push';
@@ -8,7 +8,6 @@
// Code within if (BLOSSOM) {} sections is under GPLv3 license
// (see BLOSSOM-LICENSE).
// ==========================================================================
-/*globals BLOSSOM */
/**
@namespace
View
@@ -18,7 +18,6 @@ var jsFiles = datastore.get('orderedJavaScriptFiles').map(function(file) {
global.SC = global.SproutCore; // Already loaded by the buildtools
// global.SproutCore = SC;
-// global.BLOSSOM = true;
// global.FAST_LAYOUT_FUNCTION = false;
global.YES = true;
global.NO = false;

0 comments on commit 15d9c54

Please sign in to comment.