Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2707 - Flag metal #2709

Closed
wants to merge 1 commit into from
Closed

Conversation

jasonLaster
Copy link
Member

Fixes #2707

We're not going to support class and classify out of the gate so adding some flags

@paulfalgout paulfalgout added this to the v3.0.0 milestone Aug 18, 2015
@jasonLaster jasonLaster force-pushed the flag-metal branch 2 times, most recently from 9927aa1 to 7aea85d Compare August 18, 2015 22:55

<script>
window.Marionette = Backbone.Marionette = {};
window.slice = Array.prototype.slice;
</script>

<script src="src/features.js"></script>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

features needs to be defined before metal.js

@jasonLaster jasonLaster force-pushed the flag-metal branch 2 times, most recently from f030167 to c7cee98 Compare August 18, 2015 22:58
@paulfalgout
Copy link
Member

lol.. Now it's jscs. @jasonLaster don't use .editorConfig?

@jasonLaster
Copy link
Member Author

Lol

@jasonLaster jasonLaster force-pushed the flag-metal branch 2 times, most recently from af1be88 to ca86537 Compare September 1, 2015 13:47
Updates
+ Adds class flag
+ Enables class flag in tests
+ Adds a features.md file
@@ -0,0 +1,19 @@
# Features

Marionette Features are opt-in functionality. That you can enable by setting `Marionette.Features` in your app.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- Marionette.Features
+ Marionette.FEATURES

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @jasonLaster I think this is the last tweak here.

@ianmstew
Copy link
Member

Oh boy, so we decided to go ahead and overwrite Backbone classes? I realize there is probably no perfect solution, but just curious what the final reasoning was.

@paulfalgout
Copy link
Member

Well I think we don't know exactly what's what with the metal stuff, but rather than revert it's all just flagged. ( #2637 )

@ianmstew
Copy link
Member

Gotcha. Yeah, given an experimental-feature flag, might as well experiment :)

@paulfalgout
Copy link
Member

@jasonLaster one quick fix on this PR and it can get merged.

@jasonLaster
Copy link
Member Author

My hanks Paul

@jasonLaster
Copy link
Member Author

Lol autocorrect. Will get to it soon

@paulfalgout
Copy link
Member

Manually merged.

@jasonLaster
Copy link
Member Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants