Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
180f5f23
Commit
180f5f23
authored
Mar 07, 2017
by
Ryan Wyllie
Browse files
MDL-57972 javascript: add upgrade instructions for truncate.js
Part of MDL-55611
parent
7172b33e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/amd/src/truncate.js
View file @
180f5f23
...
...
@@ -13,6 +13,14 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* 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.
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment