[ Launch: LeapMotion Three.js Visualizer ] 4944263 by JT5D[ Launch: Tributary inlet ] 4646124 by enjalot
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
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
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
| HTMLTextAreaElement.prototype.getCaretPosition = function () { //return the caret position of the textarea | |
| return this.selectionStart; | |
| }; | |
| HTMLTextAreaElement.prototype.setCaretPosition = function (position) { //change the caret position of the textarea | |
| this.selectionStart = position; | |
| this.selectionEnd = position; | |
| this.focus(); | |
| }; | |
| HTMLTextAreaElement.prototype.hasSelection = function () { //if the textarea has selection then return true | |
| if (this.selectionStart == this.selectionEnd) { |
NewerOlder