This file contains 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
'use strict'; | |
class HTMLElementPlus extends HTMLElement { | |
static defaultAttributeValue() { | |
/* the name of the attribute is parsed in as a parameter */ | |
return; | |
} | |
static parseAttributeValue(name, value) { |
This file contains 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
":[range]SortUnfolded[!] [i][u][r][n][x][o] [/{pattern}/] | |
" Sort visible lines in [range]. Lines inside closed folds | |
" are kept intact; sorting is done only on the first line | |
" of the fold; the other lines inside the fold move with | |
" it as a unit. | |
" Copyright: (C) 2012 Ingo Karkat | |
" The VIM LICENSE applies to this scriptlet; see ':help copyright'. | |
" Inspiration: | |
" http://stackoverflow.com/questions/13554191/sorting-vim-folds | |
function! s:ErrorMsg( text ) |