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

Extend font features (small caps, extended Latin) #871

Merged
merged 3 commits into from
Aug 11, 2015

Conversation

skoolbus39
Copy link
Member

Extended font features can optionally be included via JavaScript.

Extended font features can optionally be included via JavaScript.
@@ -0,0 +1,14 @@
define(['jquery', 'wdn', 'require'], function($, WDN, require) {

// Load Mercury ScreenSmart Extended Latin fonts from Cloud.typography
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd wrap all of this in the following to make it compatible with the WDN.initializePlugin signature:

var initd = false;

return {
    initializePlugin: function() {
        // protect against multiple initializations
        if (initd) {
            return;
        }
        initd = true;

        [...]
    }
};

kabel added a commit that referenced this pull request Aug 11, 2015
Extend font features (small caps, extended Latin)
@kabel kabel merged commit f47b404 into unl:develop Aug 11, 2015
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.

2 participants