You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
950 B
JavaScript
2 lines
950 B
JavaScript
/*! © SpryMedia Ltd - datatables.net/license */
|
|
!function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),o(e,n),t(n,0,e.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.render.ellipsis=function(r,o,i){function u(e){return(""+e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}return function(e,n,t){return"display"!==n?e:"number"!=typeof e&&"string"!=typeof e||(e=e.toString()).length<=r?i?u(e):e:(n=e.substr(0,r-1),o&&(n=n.replace(/\s([^\s]*)$/,"")),i&&(n=u(n)),'<span class="ellipsis" title="'+u(e)+'">'+n+"…</span>")}},e}); |