Результаты поиска
Найдено результатов: 6
Книги и материалы по InDesign
Посоветуйте книгу/книги или материалы в вебе по Adobe InDesign (в идеале конечно на русском), желательно с точки зрения прототипирования и рисования макетов сайтов?
Или любую информацию, чтобы перебраться с Photoshop на InDesign при разработке макетов сайтов.
Adobe
Книги
Макеты
и
прототипы
Веб-разработка
Adobe
InDesign
410   4   20:23, 12th August, 2020
410   4   20:23, 12th August, 2020
Синтаксис ООП в js и использование prototype
Чем отличаются данные куски кода и какой в каких случаях будет предпочтительнее?
A
function Obj() {}
Obj.method = function(type) {
return this.coords[type];
};
var obj = new Obj(),
current = obj.method(type);
B
function Obj() {}
Obj.prototype.method = function(type) {
return this.coords[type];
};
var obj = new Obj(),
current = obj.method(type);
C
var obj = {
method : function(type) {
return this.coords[type];
}
},
current = obj.method(type);
D
function objMethod(type){
return this.coords[type];
}
var obj = {
method : objMethod
},
current = obj.method(type);
added @ 1732:
E
function Obj() {
this.method = function(type) {
return this.coords[type];
};
}
var obj = new Obj(),
current = obj.method(type);
function Obj() {}
Obj.method = function(type) {
return this.coords[type];
};
var obj = new Obj(),
current = obj.method(type);
function Obj() {}
Obj.prototype.method = function(type) {
return this.coords[type];
};
var obj = new Obj(),
current = obj.method(type);
var obj = {
method : function(type) {
return this.coords[type];
}
},
current = obj.method(type);
function objMethod(type){
return this.coords[type];
}
var obj = {
method : objMethod
},
current = obj.method(type);
function Obj() {
this.method = function(type) {
return this.coords[type];
};
}
var obj = new Obj(),
current = obj.method(type);