Vue.js - js библиотека построения динамических интерфейсов
http://vuejs.org/
function myFunc(block, flags) {
try {
if (block.className.search(/\bno\-highlight\b/) != -1)
return processBlock(block, true, 0x0F) + ' class=""';
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length; i++) {
if (checkCondition(classes[i]) === undefined)
return /\d+/g;
}
}
aja()
.method('get')
.url('/api/customer')
.data({firstname: 'john romuald'})
.on('200', function(response){
//well done
})
.go();
aja()
.method('put')
.url('/api/customer')
.cache(false)
.body({id : 12, firstname: 'john romuald', job : 'linguist'})
.on('200', function(response){
//well done
})
.on('40*', function(response){
//something is definitely wrong
})
.on('500', function(response){
//oh crap
})
.go();