@shelf/global-renderer 3.1.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,3 +57,23 @@
57
57
  * This source code is licensed under the MIT license found in the
58
58
  * LICENSE file in the root directory of this source tree.
59
59
  */
60
+
61
+ /**
62
+ * Prism: Lightweight, robust, elegant syntax highlighting
63
+ *
64
+ * @license MIT <https://opensource.org/licenses/MIT>
65
+ * @author Lea Verou <https://lea.verou.me>
66
+ * @namespace
67
+ * @public
68
+ */
69
+
70
+ /**
71
+ * Takes a string with placeholder variables like `%{smart_count} file selected`
72
+ * and replaces it with values from options `{smart_count: 5}`
73
+ *
74
+ * @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
75
+ * taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
76
+ *
77
+ * @param phrase that needs interpolation, with placeholders
78
+ * @param options with values that will be used to replace placeholders
79
+ */