https://developers.shopware.com/labs/
- Goodbye Doctrine ORM
- Structs all the way
- Entity in Bundle aus { reader, writer, searcher }
- bessere übersetzungen
- kategorie = kategorie
- alles über apis
| (function getOvertime(){ | |
| const padLeftTwo = str => ('' + str).length === 1 ? '0' + str : str; | |
| const now = new Date(); | |
| const today = now.getFullYear() + '' + padLeftTwo(now.getMonth() + 1) + '' + padLeftTwo(now.getDate()); | |
| const days = {}; | |
| $('#time_trackings_list .entry').each((i, el) => { | |
| const dayKey = $(el).find('.day span').text().slice(0,8); | |
| const dayHours = parseFloat($(el).find('.netto_time').text().replace(' h', '')); |
| const fs = require('fs'); | |
| // SCSV = Shopware Crappy Separated Values (SW Export Format) | |
| const parseScsvLine = l => { | |
| l = l.trim(); | |
| const tokens = []; | |
| let buf = ''; | |
| let isOpenEntity = false; |
https://developers.shopware.com/labs/
| napi_value napi_glGetShaderiv(napi_env env, napi_callback_info info) { | |
| GET_NAPI_PARAMS_INFO(3, "getShaderiv(shader: number, pname: number, length: number): Int32Array"); | |
| GET_NAPI_PARAM_UINT32(shader, 0); | |
| GET_NAPI_PARAM_UINT32(pname, 1); | |
| GET_NAPI_PARAM_UINT32(length, 2); | |
| // declare & alloc | |
| napi_value output_buffer; | |
| void* paramsPointer = NULL; | |
| NAPI_CALL(env, napi_create_arraybuffer(env, length * sizeof(GLint), ¶msPointer, &output_buffer)); |
| <script> | |
| /*<!-- START headerTags.cfm --> | |
| <!-- BC_OBNW --> | |
| <!-- FwP Systems --> | |
| <!-- Factfinder --> | |
| <!-- EBiS contents tag --> | |
| <!-- powered by Contao --> | |
| <!-- DNN Platform --> | |
| <!-- Powered by GX --> | |
| <!-- Start of Async HubSpot --> |
| var idleThrottle = function(timeoutMin, timeoutMax, cb){ | |
| var idleId; | |
| return function(){ | |
| var lastCall = Date.now(); | |
| var queueIdleCheck = function(timeout){ | |
| idleId = requestIdleCallback(function(){ | |
| var currentCall = Date.now(); | |
| var timeSinceLastCall = currentCall - lastCall; |
| var idleThrottle = function(cb, timeout){ | |
| var idleId; | |
| return function(){ | |
| if(idleId){ | |
| cancelIdleCallback(idleId); | |
| } | |
| idleId = requestIdleCallback(cb, { timeout: timeout }); | |
| }; | |
| }; |
| !function(n){"use strict";function t(n,t){var r=(65535&n)+(65535&t),e=(n>>16)+(t>>16)+(r>>16);return e<<16|65535&r}function r(n,t){return n<<t|n>>>32-t}function e(n,e,o,u,c,f){return t(r(t(t(e,n),t(u,f)),c),o)}function o(n,t,r,o,u,c,f){return e(t&r|~t&o,n,t,u,c,f)}function u(n,t,r,o,u,c,f){return e(t&o|r&~o,n,t,u,c,f)}function c(n,t,r,o,u,c,f){return e(t^r^o,n,t,u,c,f)}function f(n,t,r,o,u,c,f){return e(r^(t|~o),n,t,u,c,f)}function i(n,r){n[r>>5]|=128<<r%32,n[(r+64>>>9<<4)+14]=r;var e,i,a,h,d,l=1732584193,g=-271733879,v=-1732584194,m=271733878;for(e=0;e<n.length;e+=16)i=l,a=g,h=v,d=m,l=o(l,g,v,m,n[e],7,-680876936),m=o(m,l,g,v,n[e+1],12,-389564586),v=o(v,m,l,g,n[e+2],17,606105819),g=o(g,v,m,l,n[e+3],22,-1044525330),l=o(l,g,v,m,n[e+4],7,-176418897),m=o(m,l,g,v,n[e+5],12,1200080426),v=o(v,m,l,g,n[e+6],17,-1473231341),g=o(g,v,m,l,n[e+7],22,-45705983),l=o(l,g,v,m,n[e+8],7,1770035416),m=o(m,l,g,v,n[e+9],12,-1958414417),v=o(v,m,l,g,n[e+10],17,-42063),g=o(g,v,m,l,n[e+11],22,-1990404162),l=o(l,g,v,m,n[e+12],7,18046036 |
| {if $sArticle.sSimilarArticles} | |
| {* Similar products - Content *} | |
| {block name="frontend_detail_index_similar_slider_content"} | |
| <div class="similar--content"> | |
| {include file="frontend/_includes/product_slider.tpl" articles=$sArticle.sSimilarArticles} | |
| </div> | |
| {/block} | |
| {/if} |