renderedtext/jquery.truncator.js — pull request #3 by purcell (2012-01-21 13:53:41+00:00)
Title: Trivially allow the plugin to act as an AMD module under RequireJS etc.

Plugin authors are widely adapting their plugins to work as AMD modules,
particularly now that jQuery itself is AMD-compatible. This small change
makes this plugin work either as normal, or as an AMD module when used in
such an environment (e.g. RequireJS).

Info about AMD: https://github.com/amdjs/amdjs-api/wiki/AMD

Handy module templates: https://github.com/umdjs/umd