Closed hueitan closed 10 years ago
I saw your code, that
key = elem.data("localize"); key || (key = elem.attr("rel").match(/localize\[(.*?)\]/)[1]);
data-localize and rel both working
data-localize
rel
That code is there for backwards-compatibility with earlier versions of the plugin. The rel attribute stands for "link relation", and so using it for the purposes of this plugin was a bastardization.
I saw your code, that
data-localize
andrel
both working