INNER CODE UNIT · JavaScript

templatePattern

microsoft/azuredevopslabs · js/jekyll-search.js:137

                templatePattern = /\{(.*?)\}/g;
            self.setTemplatePattern = function(newTemplatePattern) {
                templatePattern = newTemplatePattern
            }, self.render = function(t, data) {
                return t.replace(templatePattern, function(match, prop) {
                    return data[prop] || match
                })
            }
        }
    }, {}],
    7: [function(require) {
        ! function(window) {
            "use strict";

            function SimpleJekyllSearch() {
                function initWithJSON() {
                    store.put(opt.dataSource), registerInput()
                }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…