Portal js skeleton (#595)
parent
786f1c4252
commit
7529b9cc1d
@ -0,0 +1,7 @@ |
||||
window.translatePage = (lang) -> |
||||
$("[trspan]").each -> |
||||
this.text translate this.attr 'trspan' |
||||
|
||||
$(document).ready -> |
||||
translatePage(lang) |
||||
|
@ -0,0 +1,13 @@ |
||||
// Generated by CoffeeScript 1.10.0
|
||||
(function() { |
||||
window.translatePage = function(lang) { |
||||
return $("[trspan]").each(function() { |
||||
return this.text(translate(this.attr('trspan'))); |
||||
}); |
||||
}; |
||||
|
||||
$(document).ready(function() { |
||||
return translatePage(lang); |
||||
}); |
||||
|
||||
}).call(this); |
@ -0,0 +1 @@ |
||||
(function(){window.translatePage=function(a){return $("[trspan]").each(function(){return this.text(translate(this.attr("trspan")))})};$(document).ready(function(){return translatePage(lang)})}).call(this); |
Loading…
Reference in new issue