From 180f5f23a68df1aeba34786d43a5ea764d087ac3 Mon Sep 17 00:00:00 2001 From: Ryan Wyllie Date: Tue, 7 Mar 2017 05:21:47 +0000 Subject: [PATCH] MDL-57972 javascript: add upgrade instructions for truncate.js Part of MDL-55611 --- lib/amd/src/truncate.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/amd/src/truncate.js b/lib/amd/src/truncate.js index e9ba1f24556..0c708dfbb1a 100644 --- a/lib/amd/src/truncate.js +++ b/lib/amd/src/truncate.js @@ -13,6 +13,14 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * Description of import/upgrade into Moodle: + * 1.) Download from https://github.com/pathable/truncate + * 2.) Copy jquery.truncate.js into lib/amd/src/truncate.js + * 3.) Edit truncate.js to return the $.truncate function as truncate + * 4.) Apply Moodle changes from git commit 7172b33e241c4d42cff01f78bf8570408f43fdc2 + */ + /** * Module for text truncation. *