diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-12-17 09:15:42 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-12-17 09:44:51 +0100 |
commit | a1789ddde42033f1b05cc4929491214ee6e79383 (patch) | |
tree | 63615735c4ddffaaabf2428946bb26f90899f7bf /vendor/oojs/oojs-ui/src/HtmlSnippet.js | |
parent | 9e06a62f265e3a2aaabecc598d4bc617e06fa32d (diff) |
Update to MediaWiki 1.26.0
Diffstat (limited to 'vendor/oojs/oojs-ui/src/HtmlSnippet.js')
-rw-r--r-- | vendor/oojs/oojs-ui/src/HtmlSnippet.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vendor/oojs/oojs-ui/src/HtmlSnippet.js b/vendor/oojs/oojs-ui/src/HtmlSnippet.js deleted file mode 100644 index b9c5c314..00000000 --- a/vendor/oojs/oojs-ui/src/HtmlSnippet.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Wraps an HTML snippet for use with configuration values which default - * to strings. This bypasses the default html-escaping done to string - * values. - * - * @class - * - * @constructor - * @param {string} [content] HTML content - */ -OO.ui.HtmlSnippet = function OoUiHtmlSnippet( content ) { - // Properties - this.content = content; -}; - -/* Setup */ - -OO.initClass( OO.ui.HtmlSnippet ); - -/* Methods */ - -/** - * Render into HTML. - * - * @return {string} Unchanged HTML snippet. - */ -OO.ui.HtmlSnippet.prototype.toString = function () { - return this.content; -}; |