Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Less global pollution #638

Merged
merged 3 commits into from
Dec 12, 2014
Merged

Less global pollution #638

merged 3 commits into from
Dec 12, 2014

Conversation

mightyiam
Copy link
Contributor

No description provided.

Included requirements
=====================
Global Pollution
================
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Included requirements is not main enough for the readme. What is required here is global pollution.

Copy link
Member

Choose a reason for hiding this comment

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

Agreed. If they care about libraries we use, they can check out package.json

@mightyiam mightyiam mentioned this pull request Dec 12, 2014
window.ObjectHistory = require("object-history/history");
WYMeditor.EXTERNAL_MODULES = {
ObjectHistory: require("object-history/history")
};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed this file because it doesn't globalify any more.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Instead, it creates and populates WYMeditor.EXTERNAL_MODULES.

@winhamwr
Copy link
Member

Looks good. 👍

winhamwr added a commit that referenced this pull request Dec 12, 2014
@winhamwr winhamwr merged commit 2229894 into master Dec 12, 2014
@winhamwr winhamwr deleted the lessGlobalPollution branch December 12, 2014 13:38
@mightyiam
Copy link
Contributor Author

Thank you!!!

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

Successfully merging this pull request may close these issues.

2 participants