ethstats-server/web-app/.meteor/local/build/programs/server/packages/spacebars.js.map

1 line
12 KiB
Plaintext
Raw Normal View History

2015-08-14 19:22:53 +02:00
{"version":3,"sources":["spacebars/spacebars-runtime.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,e;;AAEA,uD;;AAEA,0E;AACA,2B;AACA,gB;;AAEA,iD;AACA,sC;AACA,qC;AACA,uE;AACA,mE;AACA,G;;AAEA,0D;AACA,0D;AACA,qC;AACA,0B;AACA,kB;;AAEA,qC;AACA,uE;;AAEA,yD;AACA,K;AACA,mC;AACA,kC;AACA,8B;AACA,4C;AACA,O;AACA,K;;AAEA,c;AACA,E;;AAEA,+D;AACA,2D;AACA,2B;AACA,E;AACA,oD;AACA,oE;AACA,U;AACA,qD;AACA,uB;AACA,kE;AACA,wB;AACA,wB;AACA,mC;AACA,yC;AACA,0B;AACA,wD;AACA,6B;AACA,mD;AACA,oB;AACA,Y;AACA,yD;AACA,uB;AACA,8B;AACA,2B;AACA,yD;AACA,O;AACA,oD;AACA,K;AACA,G;;AAEA,0C;AACA,E;;AAEA,iD;AACA,6D;;AAEA,6C;AACA,uC;AACA,M;AACA,uE;AACA,kE;AACA,6E;AACA,wE;AACA,E;;AAEA,qD;AACA,6D;;AAEA,wC;AACA,gB;AACA,0C;AACA,kB;AACA,+E;AACA,iB;AACA,qB;AACA,e;AACA,U;AACA,0E;AACA,G;AACA,E;;AAEA,qD;AACA,6D;;AAEA,gB;AACA,E;;AAEA,mC;AACA,E;AACA,mE;AACA,qD;AACA,sC;AACA,yC;AACA,gB;AACA,qC;AACA,iB;AACA,M;AACA,2B;AACA,E;;AAEA,2D;AACA,8D;AACA,iE;AACA,sB;AACA,6C;AACA,oC;AACA,iE;AACA,qB;AACA,gD;AACA,6B;AACA,+D;AACA,K;;AAEA,sC;AACA,U;AACA,6B;AACA,2D;;AAEA,iB;AACA,G;AACA,E;;AAEA,0D;AACA,gC;AACA,gC;AACA,uC;AACA,wC;AACA,kC;;AAEA,yB;AACA,E;;AAEA,sE;AACA,gF;AACA,wC;AACA,+C;AACA,wC;AACA,0C;;AAEA,yC;AACA,E;AACA,iE;;AAEA,6D;AACA,2D;AACA,4D;AACA,4D;AACA,2D;AACA,W;AACA,E;AACA,gE;AACA,qE;AACA,oE;AACA,E;AACA,4D;AACA,E;AACA,qC;AACA,E;AACA,4D;AACA,E;AACA,yC;AACA,E;AACA,8D;AACA,qD;AACA,6B;AACA,mE;AACA,qC;AACA,4B;AACA,mD;AACA,6C;AACA,wE;AACA,qD;AACA,G;;AAEA,kC;AACA,oB;;AAEA,c;AACA,qD;;AAEA,0B;AACA,mC;AACA,kB;AACA,oD;AACA,mE;AACA,mC;AACA,0C;AACA,I;AACA,E;;AAEA,+D;AACA,8D;AACA,8D;AACA,2D;AACA,uB;AACA,4D;AACA,qC;AACA,uD;AACA,yD;AACA,iE;AACA,8D;AACA,8B;AACA,K;AACA,kC;AACA,8B;AACA,4B;;AAEA,wD;AACA,4D;AACA,2C;;AAEA,wC;AACA,6B;AACA,S;;AAEA,gE;AACA,+D;AACA,+C;AACA,Q;AACA,2C;AACA,Q;AACA,qD;AACA,gC;AACA,mC;AACA,kC;AACA,oC;AACA,Q;AACA,kE;AACA,sE;AACA,oE;AACA,qE;AACA,uB;AACA,Q;AACA,oE;AACA,uD;AACA,8C;AACA,Q;AACA,uC;AACA,8C;AACA,oB;AACA,4D;AACA,Q;AACA,6B;AACA,Q;AACA,iE;AACA,oB;AACA,4D;AACA,Q;AACA,oE;AACA,gE;AACA,sE;AACA,gE;AACA,oB;AACA,O;AACA,K;;AAEA,c;AACA,E;;AAEA,wB;AACA,6C","file":"/packages/spacebars.js","sourcesContent":["Spacebars = {};\n\nvar tripleEquals = function (a, b) { return a === b; };\n\nSpacebars.include = function (templateOrFunction, contentFunc, elseFunc) {\n if (! templateOrFunction)\n return null;\n\n if (typeof templateOrFunction !== 'function') {\n var template = templateOrFunction;\n if (! Blaze.isTemplate(template))\n throw new Error(\"Expected template or null, found: \" + template);\n return templateOrFunction.constructView(contentFunc, elseFunc);\n }\n\n var templateVar = Blaze.ReactiveVar(null, tripleEquals);\n var view = Blaze.View('Spacebars.include', function () {\n var template = templateVar.get();\n if (template === null)\n return null;\n\n if (! Blaze.isTemplate(template))\n throw new Error(\"Expected template or null, found: \" + template);\n\n return template.constructView(contentFunc, elseFunc);\n });\n view.__templateVar = templateVar;\n view.onViewCreated(function () {\n this.autorun(function () {\n templateVar.set(templateOrFunction());\n });\n });\n\n return view;\n};\n\n// Executes `{{foo bar baz}}` when called on `(foo, bar, baz)`.\n// If `bar` and `baz` are functions, they are called before\n// `foo` is called on them.\n//\n// This is the shared part of Spacebars.mustache and\n// Spacebars.attrMustache, which differ in how they post-process the\n// result.\nSpacebars.mustacheImpl = function (value/*, args*/) {\n var args = arguments;\n // if we have any arguments (pos or kw), add an options argument\n // if there isn't one.\n if (args.length > 1) {\n var kw = args[args.length - 1];\n if (! (kw instanceof Spacebars.kw)) {\n kw = Spacebars.kw();\n // clone arguments into an actual array, then push\n // the empty kw object.\n args = Array.prototype.slice.call(arguments);\n args.push(kw);\n } else {\n // For each keyword arg, call it if it's a function\n var newHash = {};\n for (var k in kw.hash) {\n var v = kw.hash[k];\n newHash[