Sha256: 3c01ef76bca1a256d3feb49319de9b0e7099070b11149d38c695d8f95bcc9719

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

(function() {

Ember.I18n = I18n;

Ember.String.loc = function(scope, options) {
  return Ember.I18n.translate(scope, options);
};

Ember.STRINGS = Ember.I18n.translations;

Ember.Handlebars.registerHelper('loc', function(property) {
  return Ember.String.loc(property);
});

if (Ember.EXTEND_PROTOTYPES) {
  String.prototype.loc = function(options) {
    return Ember.String.loc(String(this), options);
  };
}

})();

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rasputin-0.12.1 vendor/assets/javascripts/ember-i18n.js
rasputin-0.11.3 vendor/assets/javascripts/ember-i18n.js
rasputin-0.11.1 vendor/assets/javascripts/ember-i18n.js