Sha256: 76e11629173ef40806a44cadb17056f426edf21b2b99cfcca20ab2a6588b1c50
Contents?: true
Size: 738 Bytes
Versions: 4
Compression:
Stored size: 738 Bytes
Contents
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(["sap/base/assert"],function(a){"use strict";var r=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g;var f=function(p,v){a(typeof p==="string"||p instanceof String,"pattern must be string");if(arguments.length>2||(v!=null&&!Array.isArray(v))){v=Array.prototype.slice.call(arguments,1);}v=v||[];return p.replace(r,function($,b,c,d,o){if(b){return"'";}else if(c){return c.replace(/''/g,"'");}else if(d){return String(v[parseInt(d,10)]);}throw new Error("formatMessage: pattern syntax error at pos. "+o);});};return f;});
Version data entries
4 entries across 4 versions & 2 rubygems