vendor/assets/javascripts/locales/jquery.timeago.dv.js in rails-timeago-2.16.0 vs vendor/assets/javascripts/locales/jquery.timeago.dv.js in rails-timeago-2.17.1

- old
+ new

@@ -1,22 +1,32 @@ -/** - * Dhivehi time in Thaana for timeago.js - **/ -jQuery.timeago.settings.strings["dv"] = { - prefixAgo: null, - prefixFromNow: null, - suffixAgo: "ކުރިން", - suffixFromNow: "ފަހުން", - seconds: "ސިކުންތުކޮޅެއް", - minute: "މިނިޓެއްވަރު", - minutes: "%d މިނިޓު", - hour: "ގަޑިއެއްވަރު", - hours: "ގާތްގަނޑަކަށް %d ގަޑިއިރު", - day: "އެއް ދުވަސް", - days: "މީގެ %d ދުވަސް", - month: "މަހެއްވަރު", - months: "މީގެ %d މަސް", - year: "އަހަރެއްވަރު", - years: "މީގެ %d އަހަރު", - wordSeparator: " ", - numbers: [] -}; +(function (factory) { + if (typeof define === 'function' && define.amd) { + define(['jquery'], factory); + } else if (typeof module === 'object' && typeof module.exports === 'object') { + factory(require('jquery')); + } else { + factory(jQuery); + } +}(function (jQuery) { + /** + * Dhivehi time in Thaana for timeago.js + **/ + jQuery.timeago.settings.strings["dv"] = { + prefixAgo: null, + prefixFromNow: null, + suffixAgo: "ކުރިން", + suffixFromNow: "ފަހުން", + seconds: "ސިކުންތުކޮޅެއް", + minute: "މިނިޓެއްވަރު", + minutes: "%d މިނިޓު", + hour: "ގަޑިއެއްވަރު", + hours: "ގާތްގަނޑަކަށް %d ގަޑިއިރު", + day: "އެއް ދުވަސް", + days: "މީގެ %d ދުވަސް", + month: "މަހެއްވަރު", + months: "މީގެ %d މަސް", + year: "އަހަރެއްވަރު", + years: "މީގެ %d އަހަރު", + wordSeparator: " ", + numbers: [] + }; +}));