How to use buildFragment method in Cypress

Best JavaScript code snippet using cypress

bs-tab.js

Source:bs-tab.js Github

copy

Full Screen

...19 isEmpty: false,20 arity: 0,21 cachedFragment: null,22 hasRendered: false,23 buildFragment: function buildFragment(dom) {24 var el0 = dom.createDocumentFragment();25 var el1 = dom.createTextNode(" ");26 dom.appendChild(el0, el1);27 var el1 = dom.createComment("");28 dom.appendChild(el0, el1);29 var el1 = dom.createTextNode("\n");30 dom.appendChild(el0, el1);31 return el0;32 },33 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {34 var morphs = new Array(1);35 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);36 return morphs;37 },38 statements: [39 ["inline","yield",[["get","activeId",["loc",[null,[2,10],[2,18]]],0,0,0,0],["subexpr","action",["select"],[],["loc",[null,[2,19],[2,36]]],0,0]],[],["loc",[null,[2,2],[2,38]]],0,0]40 ],41 locals: [],42 templates: []43 };44 }());45 var child1 = (function() {46 var child0 = (function() {47 var child0 = (function() {48 var child0 = (function() {49 var child0 = (function() {50 var child0 = (function() {51 return {52 meta: {53 "revision": "Ember@2.7.3",54 "loc": {55 "source": null,56 "start": {57 "line": 8,58 "column": 1059 },60 "end": {61 "line": 8,62 "column": 8063 }64 },65 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"66 },67 isEmpty: false,68 arity: 0,69 cachedFragment: null,70 hasRendered: false,71 buildFragment: function buildFragment(dom) {72 var el0 = dom.createDocumentFragment();73 var el1 = dom.createComment("");74 dom.appendChild(el0, el1);75 var el1 = dom.createTextNode(" ");76 dom.appendChild(el0, el1);77 var el1 = dom.createElement("span");78 dom.setAttribute(el1,"class","caret");79 dom.appendChild(el0, el1);80 return el0;81 },82 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {83 var morphs = new Array(1);84 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);85 dom.insertBoundary(fragment, 0);86 return morphs;87 },88 statements: [89 ["content","item.groupTitle",["loc",[null,[8,33],[8,52]]],0,0,0,0]90 ],91 locals: [],92 templates: []93 };94 }());95 var child1 = (function() {96 var child0 = (function() {97 return {98 meta: {99 "revision": "Ember@2.7.3",100 "loc": {101 "source": null,102 "start": {103 "line": 10,104 "column": 12105 },106 "end": {107 "line": 12,108 "column": 12109 }110 },111 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"112 },113 isEmpty: false,114 arity: 1,115 cachedFragment: null,116 hasRendered: false,117 buildFragment: function buildFragment(dom) {118 var el0 = dom.createDocumentFragment();119 var el1 = dom.createTextNode(" ");120 dom.appendChild(el0, el1);121 var el1 = dom.createElement("li");122 var el2 = dom.createElement("a");123 dom.setAttribute(el2,"role","tab");124 var el3 = dom.createComment("");125 dom.appendChild(el2, el3);126 dom.appendChild(el1, el2);127 dom.appendChild(el0, el1);128 var el1 = dom.createTextNode("\n");129 dom.appendChild(el0, el1);130 return el0;131 },132 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {133 var element1 = dom.childAt(fragment, [1]);134 var element2 = dom.childAt(element1, [0]);135 var morphs = new Array(4);136 morphs[0] = dom.createAttrMorph(element1, 'class');137 morphs[1] = dom.createAttrMorph(element2, 'href');138 morphs[2] = dom.createElementMorph(element2);139 morphs[3] = dom.createMorphAt(element2,0,0);140 return morphs;141 },142 statements: [143 ["attribute","class",["concat",[["subexpr","if",[["subexpr","bs-eq",[["get","activeId",["loc",[null,[11,37],[11,45]]],0,0,0,0],["get","subItem.elementId",["loc",[null,[11,46],[11,63]]],0,0,0,0]],[],["loc",[null,[11,30],[11,64]]],0,0],"active"],[],["loc",[null,[11,25],[11,75]]],0,0]],0,0,0,0,0],0,0,0,0],144 ["attribute","href",["concat",["#",["get","subItem.elementId",["loc",[null,[11,89],[11,106]]],0,0,0,0]],0,0,0,0,0],0,0,0,0],145 ["element","action",["select",["get","subItem.elementId",["loc",[null,[11,139],[11,156]]],0,0,0,0]],[],["loc",[null,[11,121],[11,158]]],0,0],146 ["content","subItem.title",["loc",[null,[11,159],[11,176]]],0,0,0,0]147 ],148 locals: ["subItem"],149 templates: []150 };151 }());152 return {153 meta: {154 "revision": "Ember@2.7.3",155 "loc": {156 "source": null,157 "start": {158 "line": 9,159 "column": 10160 },161 "end": {162 "line": 13,163 "column": 10164 }165 },166 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"167 },168 isEmpty: false,169 arity: 0,170 cachedFragment: null,171 hasRendered: false,172 buildFragment: function buildFragment(dom) {173 var el0 = dom.createDocumentFragment();174 var el1 = dom.createComment("");175 dom.appendChild(el0, el1);176 return el0;177 },178 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {179 var morphs = new Array(1);180 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);181 dom.insertBoundary(fragment, 0);182 dom.insertBoundary(fragment, null);183 return morphs;184 },185 statements: [186 ["block","each",[["get","item.children",["loc",[null,[10,20],[10,33]]],0,0,0,0]],[],0,null,["loc",[null,[10,12],[12,21]]]]187 ],188 locals: [],189 templates: [child0]190 };191 }());192 return {193 meta: {194 "revision": "Ember@2.7.3",195 "loc": {196 "source": null,197 "start": {198 "line": 7,199 "column": 8200 },201 "end": {202 "line": 14,203 "column": 8204 }205 },206 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"207 },208 isEmpty: false,209 arity: 0,210 cachedFragment: null,211 hasRendered: false,212 buildFragment: function buildFragment(dom) {213 var el0 = dom.createDocumentFragment();214 var el1 = dom.createTextNode(" ");215 dom.appendChild(el0, el1);216 var el1 = dom.createComment("");217 dom.appendChild(el0, el1);218 var el1 = dom.createTextNode("\n");219 dom.appendChild(el0, el1);220 var el1 = dom.createComment("");221 dom.appendChild(el0, el1);222 return el0;223 },224 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {225 var morphs = new Array(2);226 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);227 morphs[1] = dom.createMorphAt(fragment,3,3,contextualElement);228 dom.insertBoundary(fragment, null);229 return morphs;230 },231 statements: [232 ["block","bs-dropdown-toggle",[],[],0,null,["loc",[null,[8,10],[8,103]]]],233 ["block","bs-dropdown-menu",[],[],1,null,["loc",[null,[9,10],[13,31]]]]234 ],235 locals: [],236 templates: [child0, child1]237 };238 }());239 return {240 meta: {241 "revision": "Ember@2.7.3",242 "loc": {243 "source": null,244 "start": {245 "line": 6,246 "column": 6247 },248 "end": {249 "line": 15,250 "column": 6251 }252 },253 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"254 },255 isEmpty: false,256 arity: 0,257 cachedFragment: null,258 hasRendered: false,259 buildFragment: function buildFragment(dom) {260 var el0 = dom.createDocumentFragment();261 var el1 = dom.createComment("");262 dom.appendChild(el0, el1);263 return el0;264 },265 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {266 var morphs = new Array(1);267 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);268 dom.insertBoundary(fragment, 0);269 dom.insertBoundary(fragment, null);270 return morphs;271 },272 statements: [273 ["block","bs-dropdown",[],["tagName","li","class",["subexpr","if",[["subexpr","bs-contains",[["get","item.childIds",["loc",[null,[7,59],[7,72]]],0,0,0,0],["get","activeId",["loc",[null,[7,73],[7,81]]],0,0,0,0]],[],["loc",[null,[7,46],[7,82]]],0,0],"active"],[],["loc",[null,[7,42],[7,92]]],0,0]],0,null,["loc",[null,[7,8],[14,24]]]]274 ],275 locals: [],276 templates: [child0]277 };278 }());279 var child1 = (function() {280 var child0 = (function() {281 return {282 meta: {283 "revision": "Ember@2.7.3",284 "loc": {285 "source": null,286 "start": {287 "line": 16,288 "column": 8289 },290 "end": {291 "line": 16,292 "column": 157293 }294 },295 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"296 },297 isEmpty: false,298 arity: 0,299 cachedFragment: null,300 hasRendered: false,301 buildFragment: function buildFragment(dom) {302 var el0 = dom.createDocumentFragment();303 var el1 = dom.createElement("a");304 dom.setAttribute(el1,"role","tab");305 var el2 = dom.createComment("");306 dom.appendChild(el1, el2);307 dom.appendChild(el0, el1);308 return el0;309 },310 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {311 var element0 = dom.childAt(fragment, [0]);312 var morphs = new Array(3);313 morphs[0] = dom.createAttrMorph(element0, 'href');314 morphs[1] = dom.createElementMorph(element0);315 morphs[2] = dom.createMorphAt(element0,0,0);316 return morphs;317 },318 statements: [319 ["attribute","href",["concat",["#",["get","item.elementId",["loc",[null,[16,75],[16,89]]],0,0,0,0]],0,0,0,0,0],0,0,0,0],320 ["element","action",["select",["get","item.elementId",["loc",[null,[16,122],[16,136]]],0,0,0,0]],[],["loc",[null,[16,104],[16,138]]],0,0],321 ["content","item.title",["loc",[null,[16,139],[16,153]]],0,0,0,0]322 ],323 locals: [],324 templates: []325 };326 }());327 return {328 meta: {329 "revision": "Ember@2.7.3",330 "loc": {331 "source": null,332 "start": {333 "line": 15,334 "column": 6335 },336 "end": {337 "line": 17,338 "column": 6339 }340 },341 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"342 },343 isEmpty: false,344 arity: 0,345 cachedFragment: null,346 hasRendered: false,347 buildFragment: function buildFragment(dom) {348 var el0 = dom.createDocumentFragment();349 var el1 = dom.createTextNode(" ");350 dom.appendChild(el0, el1);351 var el1 = dom.createComment("");352 dom.appendChild(el0, el1);353 var el1 = dom.createTextNode("\n");354 dom.appendChild(el0, el1);355 return el0;356 },357 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {358 var morphs = new Array(1);359 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);360 return morphs;361 },362 statements: [363 ["block","bs-nav-item",[],["active",["subexpr","bs-eq",[["get","item.elementId",["loc",[null,[16,37],[16,51]]],0,0,0,0],["get","activeId",["loc",[null,[16,52],[16,60]]],0,0,0,0]],[],["loc",[null,[16,30],[16,61]]],0,0]],0,null,["loc",[null,[16,8],[16,173]]]]364 ],365 locals: [],366 templates: [child0]367 };368 }());369 return {370 meta: {371 "revision": "Ember@2.7.3",372 "loc": {373 "source": null,374 "start": {375 "line": 5,376 "column": 4377 },378 "end": {379 "line": 18,380 "column": 4381 }382 },383 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"384 },385 isEmpty: false,386 arity: 1,387 cachedFragment: null,388 hasRendered: false,389 buildFragment: function buildFragment(dom) {390 var el0 = dom.createDocumentFragment();391 var el1 = dom.createComment("");392 dom.appendChild(el0, el1);393 return el0;394 },395 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {396 var morphs = new Array(1);397 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);398 dom.insertBoundary(fragment, 0);399 dom.insertBoundary(fragment, null);400 return morphs;401 },402 statements: [403 ["block","if",[["get","item.isGroup",["loc",[null,[6,12],[6,24]]],0,0,0,0]],[],0,1,["loc",[null,[6,6],[17,13]]]]404 ],405 locals: ["item"],406 templates: [child0, child1]407 };408 }());409 return {410 meta: {411 "revision": "Ember@2.7.3",412 "loc": {413 "source": null,414 "start": {415 "line": 4,416 "column": 2417 },418 "end": {419 "line": 19,420 "column": 2421 }422 },423 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"424 },425 isEmpty: false,426 arity: 0,427 cachedFragment: null,428 hasRendered: false,429 buildFragment: function buildFragment(dom) {430 var el0 = dom.createDocumentFragment();431 var el1 = dom.createComment("");432 dom.appendChild(el0, el1);433 return el0;434 },435 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {436 var morphs = new Array(1);437 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);438 dom.insertBoundary(fragment, 0);439 dom.insertBoundary(fragment, null);440 return morphs;441 },442 statements: [443 ["block","each",[["get","navItems",["loc",[null,[5,12],[5,20]]],0,0,0,0]],[],0,null,["loc",[null,[5,4],[18,13]]]]444 ],445 locals: [],446 templates: [child0]447 };448 }());449 return {450 meta: {451 "revision": "Ember@2.7.3",452 "loc": {453 "source": null,454 "start": {455 "line": 3,456 "column": 0457 },458 "end": {459 "line": 24,460 "column": 0461 }462 },463 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"464 },465 isEmpty: false,466 arity: 0,467 cachedFragment: null,468 hasRendered: false,469 buildFragment: function buildFragment(dom) {470 var el0 = dom.createDocumentFragment();471 var el1 = dom.createComment("");472 dom.appendChild(el0, el1);473 var el1 = dom.createTextNode("\n ");474 dom.appendChild(el0, el1);475 var el1 = dom.createElement("div");476 dom.setAttribute(el1,"class","tab-content");477 var el2 = dom.createTextNode("\n ");478 dom.appendChild(el1, el2);479 var el2 = dom.createComment("");480 dom.appendChild(el1, el2);481 var el2 = dom.createTextNode("\n ");482 dom.appendChild(el1, el2);483 dom.appendChild(el0, el1);484 var el1 = dom.createTextNode("\n");485 dom.appendChild(el0, el1);486 return el0;487 },488 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {489 var morphs = new Array(2);490 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);491 morphs[1] = dom.createMorphAt(dom.childAt(fragment, [2]),1,1);492 dom.insertBoundary(fragment, 0);493 return morphs;494 },495 statements: [496 ["block","bs-nav",[],["type",["subexpr","@mut",[["get","type",["loc",[null,[4,17],[4,21]]],0,0,0,0]],[],[],0,0]],0,null,["loc",[null,[4,2],[19,13]]]],497 ["inline","yield",[["get","activeId",["loc",[null,[22,12],[22,20]]],0,0,0,0],["subexpr","action",["select"],[],["loc",[null,[22,21],[22,38]]],0,0]],[],["loc",[null,[22,4],[22,40]]],0,0]498 ],499 locals: [],500 templates: [child0]501 };502 }());503 return {504 meta: {505 "revision": "Ember@2.7.3",506 "loc": {507 "source": null,508 "start": {509 "line": 1,510 "column": 0511 },512 "end": {513 "line": 24,514 "column": 7515 }516 },517 "moduleName": "modules/ember-bootstrap/templates/components/bs-tab.hbs"518 },519 isEmpty: false,520 arity: 0,521 cachedFragment: null,522 hasRendered: false,523 buildFragment: function buildFragment(dom) {524 var el0 = dom.createDocumentFragment();525 var el1 = dom.createComment("");526 dom.appendChild(el0, el1);527 return el0;528 },529 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {530 var morphs = new Array(1);531 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);532 dom.insertBoundary(fragment, 0);533 dom.insertBoundary(fragment, null);534 return morphs;535 },536 statements: [537 ["block","if",[["get","customTabs",["loc",[null,[1,6],[1,16]]],0,0,0,0]],[],0,1,["loc",[null,[1,0],[24,7]]]]...

Full Screen

Full Screen

liquid-if.js

Source:liquid-if.js Github

copy

Full Screen

...22 isEmpty: false,23 arity: 0,24 cachedFragment: null,25 hasRendered: false,26 buildFragment: function buildFragment(dom) {27 var el0 = dom.createDocumentFragment();28 var el1 = dom.createTextNode(" ");29 dom.appendChild(el0, el1);30 var el1 = dom.createComment("");31 dom.appendChild(el0, el1);32 var el1 = dom.createTextNode("\n");33 dom.appendChild(el0, el1);34 return el0;35 },36 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {37 var morphs = new Array(1);38 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);39 return morphs;40 },41 statements: [42 ["content","yield",["loc",[null,[5,6],[5,15]]]]43 ],44 locals: [],45 templates: []46 };47 }());48 var child1 = (function() {49 return {50 meta: {51 "fragmentReason": false,52 "revision": "Ember@2.4.3",53 "loc": {54 "source": null,55 "start": {56 "line": 6,57 "column": 458 },59 "end": {60 "line": 8,61 "column": 462 }63 },64 "moduleName": "question-answer/templates/components/liquid-if.hbs"65 },66 isEmpty: false,67 arity: 0,68 cachedFragment: null,69 hasRendered: false,70 buildFragment: function buildFragment(dom) {71 var el0 = dom.createDocumentFragment();72 var el1 = dom.createTextNode(" ");73 dom.appendChild(el0, el1);74 var el1 = dom.createComment("");75 dom.appendChild(el0, el1);76 var el1 = dom.createTextNode("\n");77 dom.appendChild(el0, el1);78 return el0;79 },80 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {81 var morphs = new Array(1);82 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);83 return morphs;84 },85 statements: [86 ["inline","yield",[],["to","inverse"],["loc",[null,[7,6],[7,28]]]]87 ],88 locals: [],89 templates: []90 };91 }());92 return {93 meta: {94 "fragmentReason": false,95 "revision": "Ember@2.4.3",96 "loc": {97 "source": null,98 "start": {99 "line": 2,100 "column": 2101 },102 "end": {103 "line": 9,104 "column": 2105 }106 },107 "moduleName": "question-answer/templates/components/liquid-if.hbs"108 },109 isEmpty: false,110 arity: 1,111 cachedFragment: null,112 hasRendered: false,113 buildFragment: function buildFragment(dom) {114 var el0 = dom.createDocumentFragment();115 var el1 = dom.createComment("");116 dom.appendChild(el0, el1);117 return el0;118 },119 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {120 var morphs = new Array(1);121 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);122 dom.insertBoundary(fragment, 0);123 dom.insertBoundary(fragment, null);124 return morphs;125 },126 statements: [127 ["block","if",[["get","valueVersion",["loc",[null,[4,10],[4,22]]]]],[],0,1,["loc",[null,[4,4],[8,11]]]]128 ],129 locals: ["valueVersion"],130 templates: [child0, child1]131 };132 }());133 return {134 meta: {135 "fragmentReason": {136 "name": "missing-wrapper",137 "problems": [138 "wrong-type"139 ]140 },141 "revision": "Ember@2.4.3",142 "loc": {143 "source": null,144 "start": {145 "line": 1,146 "column": 0147 },148 "end": {149 "line": 10,150 "column": 0151 }152 },153 "moduleName": "question-answer/templates/components/liquid-if.hbs"154 },155 isEmpty: false,156 arity: 0,157 cachedFragment: null,158 hasRendered: false,159 buildFragment: function buildFragment(dom) {160 var el0 = dom.createDocumentFragment();161 var el1 = dom.createComment("");162 dom.appendChild(el0, el1);163 return el0;164 },165 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {166 var morphs = new Array(1);167 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);168 dom.insertBoundary(fragment, 0);169 dom.insertBoundary(fragment, null);170 return morphs;171 },172 statements: [173 ["block","liquid-versions",[],["value",["subexpr","@mut",[["get","showFirstBlock",["loc",[null,[2,27],[2,41]]]]],[],[]],"name",["subexpr","@mut",[["get","helperName",["loc",[null,[2,47],[2,57]]]]],[],[]],"use",["subexpr","@mut",[["get","use",["loc",[null,[3,27],[3,30]]]]],[],[]],"renderWhenFalse",["subexpr","hasBlock",["inverse"],[],["loc",[null,[3,47],[3,67]]]],"class",["subexpr","@mut",[["get","class",["loc",[null,[3,74],[3,79]]]]],[],[]]],0,null,["loc",[null,[2,2],[9,22]]]]174 ],175 locals: [],176 templates: [child0]177 };178 }());179 var child1 = (function() {180 var child0 = (function() {181 var child0 = (function() {182 var child0 = (function() {183 return {184 meta: {185 "fragmentReason": false,186 "revision": "Ember@2.4.3",187 "loc": {188 "source": null,189 "start": {190 "line": 21,191 "column": 6192 },193 "end": {194 "line": 23,195 "column": 6196 }197 },198 "moduleName": "question-answer/templates/components/liquid-if.hbs"199 },200 isEmpty: false,201 arity: 0,202 cachedFragment: null,203 hasRendered: false,204 buildFragment: function buildFragment(dom) {205 var el0 = dom.createDocumentFragment();206 var el1 = dom.createTextNode(" ");207 dom.appendChild(el0, el1);208 var el1 = dom.createComment("");209 dom.appendChild(el0, el1);210 var el1 = dom.createTextNode("\n");211 dom.appendChild(el0, el1);212 return el0;213 },214 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {215 var morphs = new Array(1);216 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);217 return morphs;218 },219 statements: [220 ["content","yield",["loc",[null,[22,8],[22,17]]]]221 ],222 locals: [],223 templates: []224 };225 }());226 var child1 = (function() {227 return {228 meta: {229 "fragmentReason": false,230 "revision": "Ember@2.4.3",231 "loc": {232 "source": null,233 "start": {234 "line": 23,235 "column": 6236 },237 "end": {238 "line": 25,239 "column": 6240 }241 },242 "moduleName": "question-answer/templates/components/liquid-if.hbs"243 },244 isEmpty: false,245 arity: 0,246 cachedFragment: null,247 hasRendered: false,248 buildFragment: function buildFragment(dom) {249 var el0 = dom.createDocumentFragment();250 var el1 = dom.createTextNode(" ");251 dom.appendChild(el0, el1);252 var el1 = dom.createComment("");253 dom.appendChild(el0, el1);254 var el1 = dom.createTextNode("\n");255 dom.appendChild(el0, el1);256 return el0;257 },258 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {259 var morphs = new Array(1);260 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);261 return morphs;262 },263 statements: [264 ["inline","yield",[],["to","inverse"],["loc",[null,[24,8],[24,30]]]]265 ],266 locals: [],267 templates: []268 };269 }());270 return {271 meta: {272 "fragmentReason": false,273 "revision": "Ember@2.4.3",274 "loc": {275 "source": null,276 "start": {277 "line": 19,278 "column": 4279 },280 "end": {281 "line": 26,282 "column": 4283 }284 },285 "moduleName": "question-answer/templates/components/liquid-if.hbs"286 },287 isEmpty: false,288 arity: 1,289 cachedFragment: null,290 hasRendered: false,291 buildFragment: function buildFragment(dom) {292 var el0 = dom.createDocumentFragment();293 var el1 = dom.createComment("");294 dom.appendChild(el0, el1);295 return el0;296 },297 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {298 var morphs = new Array(1);299 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);300 dom.insertBoundary(fragment, 0);301 dom.insertBoundary(fragment, null);302 return morphs;303 },304 statements: [305 ["block","if",[["get","valueVersion",["loc",[null,[21,12],[21,24]]]]],[],0,1,["loc",[null,[21,6],[25,13]]]]306 ],307 locals: ["valueVersion"],308 templates: [child0, child1]309 };310 }());311 return {312 meta: {313 "fragmentReason": false,314 "revision": "Ember@2.4.3",315 "loc": {316 "source": null,317 "start": {318 "line": 11,319 "column": 2320 },321 "end": {322 "line": 27,323 "column": 2324 }325 },326 "moduleName": "question-answer/templates/components/liquid-if.hbs"327 },328 isEmpty: false,329 arity: 1,330 cachedFragment: null,331 hasRendered: false,332 buildFragment: function buildFragment(dom) {333 var el0 = dom.createDocumentFragment();334 var el1 = dom.createComment("");335 dom.appendChild(el0, el1);336 return el0;337 },338 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {339 var morphs = new Array(1);340 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);341 dom.insertBoundary(fragment, 0);342 dom.insertBoundary(fragment, null);343 return morphs;344 },345 statements: [346 ["block","liquid-versions",[],["value",["subexpr","@mut",[["get","showFirstBlock",["loc",[null,[19,29],[19,43]]]]],[],[]],"notify",["subexpr","@mut",[["get","container",["loc",[null,[19,51],[19,60]]]]],[],[]],"name",["subexpr","@mut",[["get","helperName",["loc",[null,[19,66],[19,76]]]]],[],[]],"use",["subexpr","@mut",[["get","use",["loc",[null,[20,8],[20,11]]]]],[],[]],"renderWhenFalse",["subexpr","hasBlock",["inverse"],[],["loc",[null,[20,28],[20,48]]]]],0,null,["loc",[null,[19,4],[26,24]]]]347 ],348 locals: ["container"],349 templates: [child0]350 };351 }());352 return {353 meta: {354 "fragmentReason": false,355 "revision": "Ember@2.4.3",356 "loc": {357 "source": null,358 "start": {359 "line": 10,360 "column": 0361 },362 "end": {363 "line": 28,364 "column": 0365 }366 },367 "moduleName": "question-answer/templates/components/liquid-if.hbs"368 },369 isEmpty: false,370 arity: 0,371 cachedFragment: null,372 hasRendered: false,373 buildFragment: function buildFragment(dom) {374 var el0 = dom.createDocumentFragment();375 var el1 = dom.createComment("");376 dom.appendChild(el0, el1);377 return el0;378 },379 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {380 var morphs = new Array(1);381 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);382 dom.insertBoundary(fragment, 0);383 dom.insertBoundary(fragment, null);384 return morphs;385 },386 statements: [387 ["block","liquid-container",[],["id",["subexpr","@mut",[["get","id",["loc",[null,[12,9],[12,11]]]]],[],[]],"class",["subexpr","@mut",[["get","class",["loc",[null,[13,12],[13,17]]]]],[],[]],"growDuration",["subexpr","@mut",[["get","growDuration",["loc",[null,[14,19],[14,31]]]]],[],[]],"growPixelsPerSecond",["subexpr","@mut",[["get","growPixelsPerSecond",["loc",[null,[15,26],[15,45]]]]],[],[]],"growEasing",["subexpr","@mut",[["get","growEasing",["loc",[null,[16,17],[16,27]]]]],[],[]],"enableGrowth",["subexpr","@mut",[["get","enableGrowth",["loc",[null,[17,19],[17,31]]]]],[],[]]],0,null,["loc",[null,[11,2],[27,23]]]]388 ],389 locals: [],390 templates: [child0]391 };392 }());393 return {394 meta: {395 "fragmentReason": {396 "name": "missing-wrapper",397 "problems": [398 "wrong-type"399 ]400 },401 "revision": "Ember@2.4.3",402 "loc": {403 "source": null,404 "start": {405 "line": 1,406 "column": 0407 },408 "end": {409 "line": 29,410 "column": 0411 }412 },413 "moduleName": "question-answer/templates/components/liquid-if.hbs"414 },415 isEmpty: false,416 arity: 0,417 cachedFragment: null,418 hasRendered: false,419 buildFragment: function buildFragment(dom) {420 var el0 = dom.createDocumentFragment();421 var el1 = dom.createComment("");422 dom.appendChild(el0, el1);423 return el0;424 },425 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {426 var morphs = new Array(1);427 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);428 dom.insertBoundary(fragment, 0);429 dom.insertBoundary(fragment, null);430 return morphs;431 },432 statements: [433 ["block","if",[["get","containerless",["loc",[null,[1,6],[1,19]]]]],[],0,1,["loc",[null,[1,0],[28,7]]]]...

Full Screen

Full Screen

liquid-bind.js

Source:liquid-bind.js Github

copy

Full Screen

...22 isEmpty: false,23 arity: 0,24 cachedFragment: null,25 hasRendered: false,26 buildFragment: function buildFragment(dom) {27 var el0 = dom.createDocumentFragment();28 var el1 = dom.createComment("");29 dom.appendChild(el0, el1);30 return el0;31 },32 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {33 var morphs = new Array(1);34 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);35 dom.insertBoundary(fragment, 0);36 dom.insertBoundary(fragment, null);37 return morphs;38 },39 statements: [40 ["inline","yield",[["get","version",["loc",[null,[6,15],[6,22]]]]],[],["loc",[null,[6,6],[6,26]]]]41 ],42 locals: [],43 templates: []44 };45 }());46 var child1 = (function() {47 return {48 meta: {49 "fragmentReason": false,50 "revision": "Ember@2.4.3",51 "loc": {52 "source": null,53 "start": {54 "line": 7,55 "column": 456 },57 "end": {58 "line": 9,59 "column": 460 }61 },62 "moduleName": "question-answer/templates/components/liquid-bind.hbs"63 },64 isEmpty: false,65 arity: 0,66 cachedFragment: null,67 hasRendered: false,68 buildFragment: function buildFragment(dom) {69 var el0 = dom.createDocumentFragment();70 var el1 = dom.createComment("");71 dom.appendChild(el0, el1);72 return el0;73 },74 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {75 var morphs = new Array(1);76 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);77 dom.insertBoundary(fragment, 0);78 dom.insertBoundary(fragment, null);79 return morphs;80 },81 statements: [82 ["content","version",["loc",[null,[8,6],[8,20]]]]83 ],84 locals: [],85 templates: []86 };87 }());88 return {89 meta: {90 "fragmentReason": false,91 "revision": "Ember@2.4.3",92 "loc": {93 "source": null,94 "start": {95 "line": 2,96 "column": 297 },98 "end": {99 "line": 11,100 "column": 0101 }102 },103 "moduleName": "question-answer/templates/components/liquid-bind.hbs"104 },105 isEmpty: false,106 arity: 1,107 cachedFragment: null,108 hasRendered: false,109 buildFragment: function buildFragment(dom) {110 var el0 = dom.createDocumentFragment();111 var el1 = dom.createComment("");112 dom.appendChild(el0, el1);113 return el0;114 },115 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {116 var morphs = new Array(1);117 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);118 dom.insertBoundary(fragment, 0);119 dom.insertBoundary(fragment, null);120 return morphs;121 },122 statements: [123 ["block","if",[["get","hasBlock",["loc",[null,[5,11],[5,19]]]]],[],0,1,["loc",[null,[5,4],[9,12]]]]124 ],125 locals: ["version"],126 templates: [child0, child1]127 };128 }());129 return {130 meta: {131 "fragmentReason": {132 "name": "missing-wrapper",133 "problems": [134 "wrong-type"135 ]136 },137 "revision": "Ember@2.4.3",138 "loc": {139 "source": null,140 "start": {141 "line": 1,142 "column": 0143 },144 "end": {145 "line": 12,146 "column": 0147 }148 },149 "moduleName": "question-answer/templates/components/liquid-bind.hbs"150 },151 isEmpty: false,152 arity: 0,153 cachedFragment: null,154 hasRendered: false,155 buildFragment: function buildFragment(dom) {156 var el0 = dom.createDocumentFragment();157 var el1 = dom.createComment("");158 dom.appendChild(el0, el1);159 return el0;160 },161 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {162 var morphs = new Array(1);163 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);164 dom.insertBoundary(fragment, 0);165 dom.insertBoundary(fragment, null);166 return morphs;167 },168 statements: [169 ["block","liquid-versions",[],["value",["subexpr","@mut",[["get","attrs.value",["loc",[null,[2,28],[2,39]]]]],[],[]],"use",["subexpr","@mut",[["get","use",["loc",[null,[2,44],[2,47]]]]],[],[]],"outletName",["subexpr","@mut",[["get","attrs.outletName",["loc",[null,[3,32],[3,48]]]]],[],[]],"name","liquid-bind","renderWhenFalse",true,"class",["subexpr","@mut",[["get","class",["loc",[null,[4,67],[4,72]]]]],[],[]]],0,null,["loc",[null,[2,2],[11,22]]]]170 ],171 locals: [],172 templates: [child0]173 };174 }());175 var child1 = (function() {176 var child0 = (function() {177 var child0 = (function() {178 var child0 = (function() {179 return {180 meta: {181 "fragmentReason": false,182 "revision": "Ember@2.4.3",183 "loc": {184 "source": null,185 "start": {186 "line": 25,187 "column": 6188 },189 "end": {190 "line": 27,191 "column": 6192 }193 },194 "moduleName": "question-answer/templates/components/liquid-bind.hbs"195 },196 isEmpty: false,197 arity: 0,198 cachedFragment: null,199 hasRendered: false,200 buildFragment: function buildFragment(dom) {201 var el0 = dom.createDocumentFragment();202 var el1 = dom.createComment("");203 dom.appendChild(el0, el1);204 return el0;205 },206 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {207 var morphs = new Array(1);208 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);209 dom.insertBoundary(fragment, 0);210 dom.insertBoundary(fragment, null);211 return morphs;212 },213 statements: [214 ["inline","yield",[["get","version",["loc",[null,[26,17],[26,24]]]]],[],["loc",[null,[26,8],[26,28]]]]215 ],216 locals: [],217 templates: []218 };219 }());220 var child1 = (function() {221 return {222 meta: {223 "fragmentReason": false,224 "revision": "Ember@2.4.3",225 "loc": {226 "source": null,227 "start": {228 "line": 27,229 "column": 6230 },231 "end": {232 "line": 29,233 "column": 6234 }235 },236 "moduleName": "question-answer/templates/components/liquid-bind.hbs"237 },238 isEmpty: false,239 arity: 0,240 cachedFragment: null,241 hasRendered: false,242 buildFragment: function buildFragment(dom) {243 var el0 = dom.createDocumentFragment();244 var el1 = dom.createComment("");245 dom.appendChild(el0, el1);246 return el0;247 },248 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {249 var morphs = new Array(1);250 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);251 dom.insertBoundary(fragment, 0);252 dom.insertBoundary(fragment, null);253 return morphs;254 },255 statements: [256 ["content","version",["loc",[null,[28,8],[28,22]]]]257 ],258 locals: [],259 templates: []260 };261 }());262 return {263 meta: {264 "fragmentReason": false,265 "revision": "Ember@2.4.3",266 "loc": {267 "source": null,268 "start": {269 "line": 21,270 "column": 4271 },272 "end": {273 "line": 31,274 "column": 4275 }276 },277 "moduleName": "question-answer/templates/components/liquid-bind.hbs"278 },279 isEmpty: false,280 arity: 1,281 cachedFragment: null,282 hasRendered: false,283 buildFragment: function buildFragment(dom) {284 var el0 = dom.createDocumentFragment();285 var el1 = dom.createComment("");286 dom.appendChild(el0, el1);287 return el0;288 },289 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {290 var morphs = new Array(1);291 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);292 dom.insertBoundary(fragment, 0);293 dom.insertBoundary(fragment, null);294 return morphs;295 },296 statements: [297 ["block","if",[["get","hasBlock",["loc",[null,[25,13],[25,21]]]]],[],0,1,["loc",[null,[25,6],[29,14]]]]298 ],299 locals: ["version"],300 templates: [child0, child1]301 };302 }());303 return {304 meta: {305 "fragmentReason": false,306 "revision": "Ember@2.4.3",307 "loc": {308 "source": null,309 "start": {310 "line": 13,311 "column": 2312 },313 "end": {314 "line": 32,315 "column": 2316 }317 },318 "moduleName": "question-answer/templates/components/liquid-bind.hbs"319 },320 isEmpty: false,321 arity: 1,322 cachedFragment: null,323 hasRendered: false,324 buildFragment: function buildFragment(dom) {325 var el0 = dom.createDocumentFragment();326 var el1 = dom.createComment("");327 dom.appendChild(el0, el1);328 return el0;329 },330 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {331 var morphs = new Array(1);332 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);333 dom.insertBoundary(fragment, 0);334 dom.insertBoundary(fragment, null);335 return morphs;336 },337 statements: [338 ["block","liquid-versions",[],["value",["subexpr","@mut",[["get","attrs.value",["loc",[null,[21,30],[21,41]]]]],[],[]],"notify",["subexpr","@mut",[["get","container",["loc",[null,[21,49],[21,58]]]]],[],[]],"use",["subexpr","@mut",[["get","use",["loc",[null,[21,63],[21,66]]]]],[],[]],"outletName",["subexpr","@mut",[["get","attrs.outletName",["loc",[null,[22,34],[22,50]]]]],[],[]],"name","liquid-bind","renderWhenFalse",true],0,null,["loc",[null,[21,4],[31,26]]]]339 ],340 locals: ["container"],341 templates: [child0]342 };343 }());344 return {345 meta: {346 "fragmentReason": false,347 "revision": "Ember@2.4.3",348 "loc": {349 "source": null,350 "start": {351 "line": 12,352 "column": 0353 },354 "end": {355 "line": 33,356 "column": 0357 }358 },359 "moduleName": "question-answer/templates/components/liquid-bind.hbs"360 },361 isEmpty: false,362 arity: 0,363 cachedFragment: null,364 hasRendered: false,365 buildFragment: function buildFragment(dom) {366 var el0 = dom.createDocumentFragment();367 var el1 = dom.createComment("");368 dom.appendChild(el0, el1);369 return el0;370 },371 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {372 var morphs = new Array(1);373 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);374 dom.insertBoundary(fragment, 0);375 dom.insertBoundary(fragment, null);376 return morphs;377 },378 statements: [379 ["block","liquid-container",[],["id",["subexpr","@mut",[["get","id",["loc",[null,[14,9],[14,11]]]]],[],[]],"class",["subexpr","@mut",[["get","class",["loc",[null,[15,12],[15,17]]]]],[],[]],"growDuration",["subexpr","@mut",[["get","growDuration",["loc",[null,[16,19],[16,31]]]]],[],[]],"growPixelsPerSecond",["subexpr","@mut",[["get","growPixelsPerSecond",["loc",[null,[17,26],[17,45]]]]],[],[]],"growEasing",["subexpr","@mut",[["get","growEasing",["loc",[null,[18,17],[18,27]]]]],[],[]],"enableGrowth",["subexpr","@mut",[["get","enableGrowth",["loc",[null,[19,19],[19,31]]]]],[],[]]],0,null,["loc",[null,[13,2],[32,25]]]]380 ],381 locals: [],382 templates: [child0]383 };384 }());385 return {386 meta: {387 "fragmentReason": {388 "name": "missing-wrapper",389 "problems": [390 "wrong-type"391 ]392 },393 "revision": "Ember@2.4.3",394 "loc": {395 "source": null,396 "start": {397 "line": 1,398 "column": 0399 },400 "end": {401 "line": 34,402 "column": 0403 }404 },405 "moduleName": "question-answer/templates/components/liquid-bind.hbs"406 },407 isEmpty: false,408 arity: 0,409 cachedFragment: null,410 hasRendered: false,411 buildFragment: function buildFragment(dom) {412 var el0 = dom.createDocumentFragment();413 var el1 = dom.createComment("");414 dom.appendChild(el0, el1);415 return el0;416 },417 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {418 var morphs = new Array(1);419 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);420 dom.insertBoundary(fragment, 0);421 dom.insertBoundary(fragment, null);422 return morphs;423 },424 statements: [425 ["block","if",[["get","containerless",["loc",[null,[1,6],[1,19]]]]],[],0,1,["loc",[null,[1,0],[33,7]]]]...

Full Screen

Full Screen

bs-modal-footer.js

Source:bs-modal-footer.js Github

copy

Full Screen

...19 isEmpty: false,20 arity: 0,21 cachedFragment: null,22 hasRendered: false,23 buildFragment: function buildFragment(dom) {24 var el0 = dom.createDocumentFragment();25 var el1 = dom.createTextNode(" ");26 dom.appendChild(el0, el1);27 var el1 = dom.createComment("");28 dom.appendChild(el0, el1);29 var el1 = dom.createTextNode("\n");30 dom.appendChild(el0, el1);31 return el0;32 },33 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {34 var morphs = new Array(1);35 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);36 return morphs;37 },38 statements: [39 ["inline","yield",[["get","this",["loc",[null,[2,12],[2,16]]],0,0,0,0]],[],["loc",[null,[2,4],[2,18]]],0,0]40 ],41 locals: [],42 templates: []43 };44 }());45 var child1 = (function() {46 var child0 = (function() {47 var child0 = (function() {48 return {49 meta: {50 "revision": "Ember@2.7.3",51 "loc": {52 "source": null,53 "start": {54 "line": 5,55 "column": 856 },57 "end": {58 "line": 5,59 "column": 6660 }61 },62 "moduleName": "bookstore-frontend/templates/components/bs-modal-footer.hbs"63 },64 isEmpty: false,65 arity: 0,66 cachedFragment: null,67 hasRendered: false,68 buildFragment: function buildFragment(dom) {69 var el0 = dom.createDocumentFragment();70 var el1 = dom.createComment("");71 dom.appendChild(el0, el1);72 return el0;73 },74 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {75 var morphs = new Array(1);76 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);77 dom.insertBoundary(fragment, 0);78 dom.insertBoundary(fragment, null);79 return morphs;80 },81 statements: [82 ["content","closeTitle",["loc",[null,[5,52],[5,66]]],0,0,0,0]83 ],84 locals: [],85 templates: []86 };87 }());88 var child1 = (function() {89 return {90 meta: {91 "revision": "Ember@2.7.3",92 "loc": {93 "source": null,94 "start": {95 "line": 6,96 "column": 897 },98 "end": {99 "line": 6,100 "column": 96101 }102 },103 "moduleName": "bookstore-frontend/templates/components/bs-modal-footer.hbs"104 },105 isEmpty: false,106 arity: 0,107 cachedFragment: null,108 hasRendered: false,109 buildFragment: function buildFragment(dom) {110 var el0 = dom.createDocumentFragment();111 var el1 = dom.createComment("");112 dom.appendChild(el0, el1);113 return el0;114 },115 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {116 var morphs = new Array(1);117 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);118 dom.insertBoundary(fragment, 0);119 dom.insertBoundary(fragment, null);120 return morphs;121 },122 statements: [123 ["content","submitTitle",["loc",[null,[6,81],[6,96]]],0,0,0,0]124 ],125 locals: [],126 templates: []127 };128 }());129 return {130 meta: {131 "revision": "Ember@2.7.3",132 "loc": {133 "source": null,134 "start": {135 "line": 4,136 "column": 4137 },138 "end": {139 "line": 7,140 "column": 4141 }142 },143 "moduleName": "bookstore-frontend/templates/components/bs-modal-footer.hbs"144 },145 isEmpty: false,146 arity: 0,147 cachedFragment: null,148 hasRendered: false,149 buildFragment: function buildFragment(dom) {150 var el0 = dom.createDocumentFragment();151 var el1 = dom.createTextNode(" ");152 dom.appendChild(el0, el1);153 var el1 = dom.createComment("");154 dom.appendChild(el0, el1);155 var el1 = dom.createTextNode("\n ");156 dom.appendChild(el0, el1);157 var el1 = dom.createComment("");158 dom.appendChild(el0, el1);159 var el1 = dom.createTextNode("\n");160 dom.appendChild(el0, el1);161 return el0;162 },163 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {164 var morphs = new Array(2);165 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);166 morphs[1] = dom.createMorphAt(fragment,3,3,contextualElement);167 return morphs;168 },169 statements: [170 ["block","bs-button",[],["type","default","action","close"],0,null,["loc",[null,[5,8],[5,80]]]],171 ["block","bs-button",[],["type","primary","buttonType","submit","disabled",["subexpr","@mut",[["get","submitDisabled",["loc",[null,[6,65],[6,79]]],0,0,0,0]],[],[],0,0]],1,null,["loc",[null,[6,8],[6,110]]]]172 ],173 locals: [],174 templates: [child0, child1]175 };176 }());177 var child1 = (function() {178 var child0 = (function() {179 return {180 meta: {181 "revision": "Ember@2.7.3",182 "loc": {183 "source": null,184 "start": {185 "line": 8,186 "column": 8187 },188 "end": {189 "line": 8,190 "column": 66191 }192 },193 "moduleName": "bookstore-frontend/templates/components/bs-modal-footer.hbs"194 },195 isEmpty: false,196 arity: 0,197 cachedFragment: null,198 hasRendered: false,199 buildFragment: function buildFragment(dom) {200 var el0 = dom.createDocumentFragment();201 var el1 = dom.createComment("");202 dom.appendChild(el0, el1);203 return el0;204 },205 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {206 var morphs = new Array(1);207 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);208 dom.insertBoundary(fragment, 0);209 dom.insertBoundary(fragment, null);210 return morphs;211 },212 statements: [213 ["content","closeTitle",["loc",[null,[8,52],[8,66]]],0,0,0,0]214 ],215 locals: [],216 templates: []217 };218 }());219 return {220 meta: {221 "revision": "Ember@2.7.3",222 "loc": {223 "source": null,224 "start": {225 "line": 7,226 "column": 4227 },228 "end": {229 "line": 9,230 "column": 4231 }232 },233 "moduleName": "bookstore-frontend/templates/components/bs-modal-footer.hbs"234 },235 isEmpty: false,236 arity: 0,237 cachedFragment: null,238 hasRendered: false,239 buildFragment: function buildFragment(dom) {240 var el0 = dom.createDocumentFragment();241 var el1 = dom.createTextNode(" ");242 dom.appendChild(el0, el1);243 var el1 = dom.createComment("");244 dom.appendChild(el0, el1);245 var el1 = dom.createTextNode("\n");246 dom.appendChild(el0, el1);247 return el0;248 },249 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {250 var morphs = new Array(1);251 morphs[0] = dom.createMorphAt(fragment,1,1,contextualElement);252 return morphs;253 },254 statements: [255 ["block","bs-button",[],["type","primary","action","close"],0,null,["loc",[null,[8,8],[8,80]]]]256 ],257 locals: [],258 templates: [child0]259 };260 }());261 return {262 meta: {263 "revision": "Ember@2.7.3",264 "loc": {265 "source": null,266 "start": {267 "line": 3,268 "column": 0269 },270 "end": {271 "line": 10,272 "column": 0273 }274 },275 "moduleName": "bookstore-frontend/templates/components/bs-modal-footer.hbs"276 },277 isEmpty: false,278 arity: 0,279 cachedFragment: null,280 hasRendered: false,281 buildFragment: function buildFragment(dom) {282 var el0 = dom.createDocumentFragment();283 var el1 = dom.createComment("");284 dom.appendChild(el0, el1);285 return el0;286 },287 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {288 var morphs = new Array(1);289 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);290 dom.insertBoundary(fragment, 0);291 dom.insertBoundary(fragment, null);292 return morphs;293 },294 statements: [295 ["block","if",[["get","hasSubmitButton",["loc",[null,[4,10],[4,25]]],0,0,0,0]],[],0,1,["loc",[null,[4,4],[9,11]]]]296 ],297 locals: [],298 templates: [child0, child1]299 };300 }());301 return {302 meta: {303 "revision": "Ember@2.7.3",304 "loc": {305 "source": null,306 "start": {307 "line": 1,308 "column": 0309 },310 "end": {311 "line": 10,312 "column": 7313 }314 },315 "moduleName": "bookstore-frontend/templates/components/bs-modal-footer.hbs"316 },317 isEmpty: false,318 arity: 0,319 cachedFragment: null,320 hasRendered: false,321 buildFragment: function buildFragment(dom) {322 var el0 = dom.createDocumentFragment();323 var el1 = dom.createComment("");324 dom.appendChild(el0, el1);325 return el0;326 },327 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {328 var morphs = new Array(1);329 morphs[0] = dom.createMorphAt(fragment,0,0,contextualElement);330 dom.insertBoundary(fragment, 0);331 dom.insertBoundary(fragment, null);332 return morphs;333 },334 statements: [335 ["block","if",[["get","hasBlock",["loc",[null,[1,6],[1,14]]],0,0,0,0]],[],0,1,["loc",[null,[1,0],[10,7]]]]...

Full Screen

Full Screen

builds.js

Source:builds.js Github

copy

Full Screen

1import { gql } from 'apollo-boost'2import { UserFragment } from './users';3export const BuildFragment = gql`4 fragment BuildFragment on Build {5 id6 repository7 type8 sha9 status10 message11 insertedAt12 completedAt13 creator {14 ...UserFragment15 }16 approver {17 ...UserFragment18 }19 }20 ${UserFragment}21`;22export const CommandFragment = gql`23 fragment CommandFragment on Command {24 id25 command26 exitCode27 stdout28 completedAt29 insertedAt30 }31`;32export const ChangelogFragment = gql`33 fragment ChangelogFragment on Changelog {34 id35 repo36 tool37 content38 }39`40export const UpgradePolicy = gql`41 fragment UpgradePolicy on UpgradePolicy {42 id43 name44 type45 target46 weight47 description48 }49`;50export const BUILDS_Q = gql`51 query Builds($cursor: String) {52 builds(first: 15, after: $cursor) {53 pageInfo {54 endCursor55 hasNextPage56 }57 edges {58 node {59 ...BuildFragment60 }61 }62 }63 }64 ${BuildFragment}65`;66export const BUILD_Q = gql`67 query Build($buildId: ID!) {68 build(id: $buildId) {69 ...BuildFragment70 commands(first: 100) {71 edges {72 node {73 ...CommandFragment74 }75 }76 }77 changelogs {78 ...ChangelogFragment79 }80 }81 }82 ${BuildFragment}83 ${CommandFragment}84 ${ChangelogFragment}85`;86export const UPGRADE_POLICIES = gql`87 query {88 upgradePolicies { ...UpgradePolicy }89 }90 ${UpgradePolicy}91`;92export const CREATE_POLICY = gql`93 mutation Create($attributes: UpgradePolicyAttributes!) {94 createUpgradePolicy(attributes: $attributes) {95 ...UpgradePolicy96 }97 }98 ${UpgradePolicy}99`;100export const DELETE_POLICY = gql`101 mutation Delete($id: ID!) {102 deleteUpgradePolicy(id: $id) { ...UpgradePolicy }103 }104 ${UpgradePolicy}105`;106export const CREATE_BUILD = gql`107 mutation CreateBuild($attributes: BuildAttributes!) {108 createBuild(attributes: $attributes) {109 ...BuildFragment110 }111 }112 ${BuildFragment}113`;114export const CANCEL_BUILD = gql`115 mutation CancelBuild($id: ID!) {116 cancelBuild(id: $id) {117 ...BuildFragment118 }119 }120 ${BuildFragment}121`;122export const APPROVE_BUILD = gql`123 mutation ApproveBuild($id: ID!) {124 approveBuild(id: $id) {125 ...BuildFragment126 }127 }128 ${BuildFragment}129`130export const RESTART_BUILD = gql`131 mutation Restart($id: ID!) {132 restartBuild(id: $id) { ...BuildFragment }133 }134 ${BuildFragment}135`;136export const BUILD_SUB = gql`137 subscription BuildSub($buildId: ID) {138 buildDelta(buildId: $buildId) {139 delta140 payload {141 ...BuildFragment142 changelogs {143 ...ChangelogFragment144 }145 }146 }147 }148 ${BuildFragment}149 ${ChangelogFragment}150`;151export const COMMAND_SUB = gql`152 subscription CommandSubs($buildId: ID!) {153 commandDelta(buildId: $buildId) {154 delta155 payload {156 ...CommandFragment157 }158 }159 }160 ${CommandFragment}...

Full Screen

Full Screen

default.js

Source:default.js Github

copy

Full Screen

...17 isEmpty: false,18 arity: 0,19 cachedFragment: null,20 hasRendered: false,21 buildFragment: function buildFragment(dom) {22 var el0 = dom.createDocumentFragment();23 var el1 = dom.createTextNode("Basic template that does nothing.");24 dom.appendChild(el0, el1);25 return el0;26 },27 buildRenderNodes: function buildRenderNodes() { return []; },28 statements: [29 ],30 locals: [],31 templates: []32 };33}()));34Ember.TEMPLATES["test/fixtures/simple"] = Ember.HTMLBars.template((function() {35 return {36 meta: {37 "revision": "Ember@2.7.3",38 "loc": {39 "source": null,40 "start": {41 "line": 1,42 "column": 043 },44 "end": {45 "line": 1,46 "column": 3447 }48 }49 },50 isEmpty: false,51 arity: 0,52 cachedFragment: null,53 hasRendered: false,54 buildFragment: function buildFragment(dom) {55 var el0 = dom.createDocumentFragment();56 var el1 = dom.createElement("p");57 var el2 = dom.createTextNode("Hello, my name is ");58 dom.appendChild(el1, el2);59 var el2 = dom.createComment("");60 dom.appendChild(el1, el2);61 var el2 = dom.createTextNode(".");62 dom.appendChild(el1, el2);63 dom.appendChild(el0, el1);64 return el0;65 },66 buildRenderNodes: function buildRenderNodes(dom, fragment, contextualElement) {67 var morphs = new Array(1);68 morphs[0] = dom.createMorphAt(dom.childAt(fragment, [0]),1,1);69 return morphs;70 },71 statements: [72 ["content","name",["loc",[null,[1,21],[1,29]]],0,0,0,0]73 ],74 locals: [],75 templates: []76 };77}()));78Ember.TEMPLATES["test/fixtures/grandparent/parent/child"] = Ember.HTMLBars.template((function() {79 return {80 meta: {81 "revision": "Ember@2.7.3",82 "loc": {83 "source": null,84 "start": {85 "line": 1,86 "column": 087 },88 "end": {89 "line": 1,90 "column": 1791 }92 }93 },94 isEmpty: false,95 arity: 0,96 cachedFragment: null,97 hasRendered: false,98 buildFragment: function buildFragment(dom) {99 var el0 = dom.createDocumentFragment();100 var el1 = dom.createTextNode("Should be nested.");101 dom.appendChild(el0, el1);102 return el0;103 },104 buildRenderNodes: function buildRenderNodes() { return []; },105 statements: [106 ],107 locals: [],108 templates: []109 };...

Full Screen

Full Screen

reputable.spec.js

Source:reputable.spec.js Github

copy

Full Screen

...18 Reputable.fromJson({19 entity:'1',20 reputation:Reputation.fromJson({21 fragments:[22 buildFragment(0.1111),23 buildFragment(0.221),24 buildFragment(-0.0554),25 buildFragment(-0.2111),26 ]27 })28 }),29 Reputable.fromJson({30 entity:'2',31 reputation:Reputation.fromJson({32 fragments:[33 buildFragment(),34 buildFragment(),35 buildFragment(),36 buildFragment(),37 ]38 })39 }),40 Reputable.fromJson({41 entity:'3',42 reputation:Reputation.fromJson({43 fragments:[44 buildFragment(),45 buildFragment(),46 buildFragment(),47 buildFragment(),48 ]49 })50 }),51 Reputable.fromJson({52 entity:'4',53 reputation:Reputation.fromJson({54 fragments:[55 buildFragment(),56 ]57 })58 }),59];60describe('Reputables', () => {61 it('should have averages and decimals', done => {62 new Promise(async() => {63 reputables.map(reputable => {64 console.log(`AVERAGE: ${reputable.averageReputation(1)} | DECIMAL: ${reputable.decimalReputation(1)} | PERCENTAGES: ${reputable.reputation.fragments.map(x => x.reputation).join(', ')}`);65 })66 done();67 })68 });69});

Full Screen

Full Screen

clients.js

Source:clients.js Github

copy

Full Screen

1import buildFragment from './buildFragment';2const baseUrl = 'http://localhost';3export const Header = buildFragment({ baseUrl, port: 9090 });4export const Footer = buildFragment({ baseUrl, port: 8080 });5export const Reviews = buildFragment({ baseUrl, port: 6060 });6export const MessageBus = buildFragment({ baseUrl, port: 5050 });...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('My First Test', () => {2 it('Visits the Kitchen Sink', () => {3 cy.contains('type').click()4 cy.url()5 .should('include', '/commands/actions')6 cy.get('.action-email')7 .type('

Full Screen

Using AI Code Generation

copy

Full Screen

1Cypress.Commands.add('buildFragment', (html) => {2 return cy.window().then((win) => {3 const parser = new win.DOMParser();4 const doc = parser.parseFromString(html, 'text/html');5 return doc.body;6 });7});8Cypress.Commands.add('buildFragment', (html) => {9 return cy.window().then((win) => {10 const parser = new win.DOMParser();11 const doc = parser.parseFromString(html, 'text/html');12 return doc.body;13 });14});15Cypress.Commands.add('buildFragment', (html) => {16 return cy.window().then((win) => {17 const parser = new win.DOMParser();18 const doc = parser.parseFromString(html, 'text/html');19 return doc.body;20 });21});22Cypress.Commands.add('buildFragment', (html) => {23 return cy.window().then((win) => {24 const parser = new win.DOMParser();25 const doc = parser.parseFromString(html, 'text/html');26 return doc.body;27 });28});29Cypress.Commands.add('buildFragment', (html) => {30 return cy.window().then((win) => {31 const parser = new win.DOMParser();32 const doc = parser.parseFromString(html, 'text/html');33 return doc.body;34 });35});36Cypress.Commands.add('buildFragment', (html) => {37 return cy.window().then((win) => {38 const parser = new win.DOMParser();39 const doc = parser.parseFromString(html, 'text/html');40 return doc.body;41 });42});43Cypress.Commands.add('buildFragment', (html) => {44 return cy.window().then((win) => {45 const parser = new win.DOMParser();46 const doc = parser.parseFromString(html, 'text/html');47 return doc.body;48 });49});50Cypress.Commands.add('buildFragment', (

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('My First Test', () => {2 it('Does not do much!', () => {3 expect(true).to.equal(true)4 })5 })6 describe('My First Test', () => {7 it('Does not do much!', () => {8 expect(true).to.equal(true)9 })10 })11 describe('My First Test', () => {12 it('Does not do much!', () => {13 expect(true).to.equal(true)14 })15 })16 describe('My First Test', () => {17 it('Does not do much!', () => {18 expect(true).to.equal(true)19 })20 })21 describe('My First Test', () => {22 it('Does not do much!', () => {23 expect(true).to.equal(true)24 })25 })26 describe('My First Test', () => {27 it('Does not do much!', () => {28 expect(true).to.equal(true)29 })30 })31 describe('My First Test', () => {32 it('Does not do much!', () => {33 expect(true).to.equal(true)34 })35 })36 describe('My First Test', () => {37 it('Does not do much!', () => {38 expect(true).to.equal(true)39 })40 })41 describe('My First Test', () => {42 it('Does not do much!', () => {43 expect(true).to.equal(true)44 })45 })46 describe('My First Test', () => {47 it('Does not do much!', () => {48 expect(true).to.equal(true)49 })50 })51 describe('My First Test', () => {52 it('Does not do much!', () => {53 expect(true).to.equal(true)54 })55 })56 describe('My First Test', () => {57 it('Does not do much!', () => {58 expect(true).to.equal(true)59 })60 })61 describe('My First Test', () => {62 it('Does not do much!', () => {63 expect(true).to.equal(true)64 })65 })

Full Screen

Using AI Code Generation

copy

Full Screen

1const buildFragment = Cypress.dom.buildFragment;2const fragment = buildFragment('<div>hello world</div>');3Cypress.$(document.body).append(fragment);4const buildFragment = Cypress.dom.buildFragment;5const fragment = buildFragment('<div>hello world</div>');6Cypress.$(document.body).append(fragment);7const buildFragment = Cypress.dom.buildFragment;8const fragment = buildFragment('<div>hello world</div>');9Cypress.$(document.body).append(fragment);10const buildFragment = Cypress.dom.buildFragment;11const fragment = buildFragment('<div>hello world</div>');12Cypress.$(document.body).append(fragment);13const buildFragment = Cypress.dom.buildFragment;14const fragment = buildFragment('<div>hello world</div>');15Cypress.$(document.body).append(fragment);16const buildFragment = Cypress.dom.buildFragment;17const fragment = buildFragment('<div>hello world</div>');18Cypress.$(document.body).append(fragment);19const buildFragment = Cypress.dom.buildFragment;20const fragment = buildFragment('<div>hello world</div>');21Cypress.$(document.body).append(fragment);

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('buildFragment', () => {2 it('builds a fragment', () => {3 const fragment = Cypress.$('<div>hello</div>')4 const $el = Cypress.$()5 $el.append(fragment)6 expect($el.text()).to.eq('hello')7 })8})9## Cypress.$(selector)10describe('Cypress.$', () => {11 it('returns a jQuery object', () => {12 const $el = Cypress.$('<div>hello</div>')13 expect($el.text()).to.eq('hello')14 })15})16## Cypress._(value)17describe('Cypress._', () => {18 it('returns a lodash object', () => {19 const sum = _.sum(arr)20 expect(sum).to.eq(6)21 })22})23describe('Cypress.Blob', () => {24 it('converts a blob to a base64 string', () => {25 cy.visit('index.html')26 cy.get('img').then(($img) => {27 const blob = Cypress.Blob.base64StringToBlob($img[0].src)28 expect(blob).to.be.an.instanceof(Blob)29 })30 })31})

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('Cypress', () => {2 it('buildFragment', () => {3 cy.get('ul')4 .buildFragment()5 .then((fragment) => {6 const ul = fragment.querySelector('ul');7 const li = document.createElement('li');8 li.innerText = 'New Item';9 ul.appendChild(li);10 return fragment;11 })12 .then((fragment) => {13 cy.get('ul').replaceWith(fragment);14 });15 });16});17describe('Cypress', () => {18 it('buildFragment', () => {19 cy.get('ul')20 .buildFragment()21 .then((fragment) => {22 const ul = fragment.querySelector('ul');23 const li = document.createElement('li');24 li.innerText = 'New Item';25 ul.appendChild(li);26 return fragment;27 })28 .then((fragment) => {29 cy.get('ul').replaceWith(fragment);30 });31 });32});33describe('Cypress', () => {34 it('buildFragment', () => {35 cy.get('ul')36 .buildFragment()37 .then((fragment) => {38 const ul = fragment.querySelector('ul');39 const li = document.createElement('li');40 li.innerText = 'New Item';41 ul.appendChild(li);42 return fragment;43 })44 .then((fragment

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('Cypress', () => {2 it('buildFragment', () => {3 cy.get('ul')4 .buildFragment()5 .then((fragment) => {6 const ul = fragment.querySelector('ul');7 const li = document.createElement('li');8 li.innerText = 'New Item';9 ul.appendChild(li);10 return fragment;11 })12 .then((fragment) => {13 cy.get('ul').replaceWith(fragment);14 });15 });16});17describe('Cypress', () => {18 it('buildFragment', () => {19 cy.get('ul')20 .buildFragment()21 .then((fragment) => {22 const ul = fragment.querySelector('ul');23 const li = document.createElement('li');24 li.innerText = 'New Item';25 ul.appendChild(li);26 return fragment;27 })28 .then((fragment) => {29 cy.get('ul').replaceWith(fragment);30 });31 });32});33describe('Cypress', () => {34 it('buildFragment', () => {35 cy.get('ul')36 .buildFragment()37 .then((fragment) => {38 const ul = fragment.querySelector('ul');39 const li = document.createElement('li');40 li.innerText = 'New Item';41 ul.appendChild(li);42 return fragment;43 })44 .then((fragment

Full Screen

Cypress Tutorial

Cypress is a renowned Javascript-based open-source, easy-to-use end-to-end testing framework primarily used for testing web applications. Cypress is a relatively new player in the automation testing space and has been gaining much traction lately, as evidenced by the number of Forks (2.7K) and Stars (42.1K) for the project. LambdaTest’s Cypress Tutorial covers step-by-step guides that will help you learn from the basics till you run automation tests on LambdaTest.

Chapters:

  1. What is Cypress? -
  2. Why Cypress? - Learn why Cypress might be a good choice for testing your web applications.
  3. Features of Cypress Testing - Learn about features that make Cypress a powerful and flexible tool for testing web applications.
  4. Cypress Drawbacks - Although Cypress has many strengths, it has a few limitations that you should be aware of.
  5. Cypress Architecture - Learn more about Cypress architecture and how it is designed to be run directly in the browser, i.e., it does not have any additional servers.
  6. Browsers Supported by Cypress - Cypress is built on top of the Electron browser, supporting all modern web browsers. Learn browsers that support Cypress.
  7. Selenium vs Cypress: A Detailed Comparison - Compare and explore some key differences in terms of their design and features.
  8. Cypress Learning: Best Practices - Take a deep dive into some of the best practices you should use to avoid anti-patterns in your automation tests.
  9. How To Run Cypress Tests on LambdaTest? - Set up a LambdaTest account, and now you are all set to learn how to run Cypress tests.

Certification

You can elevate your expertise with end-to-end testing using the Cypress automation framework and stay one step ahead in your career by earning a Cypress certification. Check out our Cypress 101 Certification.

YouTube

Watch this 3 hours of complete tutorial to learn the basics of Cypress and various Cypress commands with the Cypress testing at LambdaTest.

Run Cypress automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful