diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
commit | a2190ac74dd4d7080b12bab90e552d7aa81209ef (patch) | |
tree | 8b31f38de9882d18df54cf8d9e0de74167a094eb /vendor/oojs/oojs-ui/src/HtmlSnippet.js | |
parent | 15e69f7b20b6596b9148030acce5b59993b95a45 (diff) | |
parent | 257401d8b2cf661adf36c84b0e3fd1cf85e33c22 (diff) |
Merge branch 'mw-1.26'
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; -}; |