This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git fetch --all | |
| git checkout master #may have to git stash first, but, don't forget, you need to be ON THE MASTER BRANCH before you proceed | |
| git pull upstream master | |
| git push origin master | |
| git pull origin master #not necessary but a nice sanity check | |
| git checkout BRANCHNAME | |
| git rebase -i master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('.truncable-txt').append('<span class="read-more trigger-js"> <a class="read-more__txt small">[+] Show more</a></span>' + | |
| '<span class="read-less trigger-js"> <a class="read-less__txt small">[-] Show less</a></span>'); | |
| var bindReadMore = function(){ | |
| $('.read-more').on('click', function(e) { | |
| e.preventDefault(); | |
| var parent = $(this).parent(); | |
| parent.trigger("destroy"); | |
| parent.removeClass('truncable-txt--is-truncated'); | |
| parent.addClass('truncable-txt--is-not-truncated'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * The contents of this file are subject to the license and copyright | |
| * detailed in the LICENSE and NOTICE files at the root of the source | |
| * tree and available online at | |
| * | |
| * http://www.dspace.org/license/ | |
| */ | |
| callbackCitedbycount = function(){ | |
| if (sciverse.areSearchResultsValid()) { | |
| var resultObj = sciverse.getSearchResults(); |
NewerOlder