/*! * jQuery Expander Plugin - v1.6.2 - 2016-01-26 * http://plugins.learningjquery.com/expander/ * Copyright (c) 2015 Karl Swedberg * Licensed MIT (http://www.opensource.org/licenses/mit-license.php) */ (function(factory) { if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else if (typeof module === 'object' && typeof module.exports === 'object') { module.exports = factory; } else { factory(jQuery); } })(function($) { $.expander = { version: '1.6.2', defaults: { // the number of characters at which the contents will be sliced into two parts. slicePoint: 100, // a string of characters at which to slice the contents into two parts, // but only if the string appears before slicePoint // Useful for slicing at the first line break, e.g. {sliceOn: '