Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 4 - вроде готов #6

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

ManginAlexander
Copy link

No description provided.

1) В конструкторе клонируются все поля из переданного ему объекта
//Todo Не уверен что так правильно.. стоит еще подумать
2) В set-ре устанавливается поля <=>
1. Поле у объекта существует
2. Значение поля отлично от undefined
3) В get-ре поле вовращается <=>
1. Оно существует у объекта
2. Имя поля имеет тип строку.
Так же освоил тесты на throws
1. Дописал QUnit тесты
2. Перекодировал файлы.. которые забыл перекодировать
3. Рефакторниг.
......
Осталось JSLint and JSDoc
Оказывается UTF8 Без BOM плохо отображается в браузере.
А NetBeans - видит символ BOM как отдельный символ
* @method {filter} - filter elements of current collection and return it
* @method {sortBy} - sort elements of current collection and return it
*/
Collection = function (otherItems) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var Collection =!

@azproduction
Copy link
Member

Молодец. Кроме пропущенных var и JSDoc претензий больше нет :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants