View gist:e6ddc1280444d7661d3f93825c35306e
function getData( val ){
// return either the cached value or jqXHR object wrapped Promise
return $.when(
$.ajax('/foo/', {
data: { value: val },
dataType: 'json',
success: function( resp ){
}
View gist:510c553f80509d56e36d130c250d4bb9
([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]+([][[]]+[])[+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+((+[])[([][(![]+[])[+
View gist:b3a672a4b517ccebe2de
Puzo Mario - Kmotr
Hailey Arthur - Detektiv
King Stephen - Vykoupení z věznice Shawshank
Adams Douglas - Stopařův průvodce galaxií
Lewis Clive Staples - Lev, čarodějnice a šatník
View json.json
"saving": {
"slider": {
"sentenceStart": "Převod",
"sentenceFrom": "z účtu",
"sentenceTo": "na účet",
"sentenceWithReference": "s referencí"
},
}
View docs.js
charles.login = ease.$extend.plugin([$dom, $hash]);
charles.login.$
View gist:df5a31089808f4d09472
http://sahandsaba.com/nine-anti-patterns-every-programmer-should-be-aware-of-with-examples.html
https://en.wiktionary.org/wiki/bikeshedding
http://bikeshed.com/
View pattern.js
window.$config = function(){
var Config = function(){};
var selves = [];
Config.prototype = {
get $set(){ var self={}; selves.push(self); return self; },
get $get(){ return mixin(selves); }
};
View pattern.js
;(function(){
"use strict";
// framework
window.$config = function(){
var Config = function(){};
View kuko.js
;(function(){
"use strict";
// extend your own app object of a library $config
idea.configs = le.$configs();
// this is how set a new value
idea.configs.$set.REST_API = "/author/rest/v2/";
idea.configs.$set.SOCKET_API = "/socket/io/v39";