这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@happypoulp
Copy link

Hi,

I use pickadate in an environment where we also use Prototypejs (http://prototypejs.org/).
Prototype makes use of $ as main API var, as jQuery does.

The picker lib actually scope jQuery to $ but the translations are not. Translations js are making use of $ without scoping.

This patch fix that by wrapping each translation code in the pattern.

(function($) {
    // translation code
})(jQuery);

Thanks.

amsul added a commit that referenced this pull request Jul 26, 2013
@amsul
Copy link
Owner

amsul commented Jul 26, 2013

Awesome, thanks for pointing this out.

@amsul amsul closed this Jul 26, 2013
amsul added a commit that referenced this pull request May 16, 2014
* translations & conflict fix (#177) for Arabic
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