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

tests for Cut block #8

Open
wants to merge 2 commits into
base: hackaton
Choose a base branch
from
Open

tests for Cut block #8

wants to merge 2 commits into from

Conversation

gruzzilkin
Copy link
Collaborator

Add unit tests and fix example. Actualization of the branch.

describe('open/close', function() {
it('should show/hide container on open/close', function() {
var container = cut.getContainer(),
containerClass = 'cut__container_visible';
Copy link
Owner

Choose a reason for hiding this comment

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

такого делать не нужно. Нужно брать "честное" состояние элемента

@sipayRT
Copy link
Owner

sipayRT commented Nov 18, 2014

сосквошь коммиты

@gruzzilkin gruzzilkin force-pushed the feature-cut branch 2 times, most recently from bb398e3 to b54702f Compare November 19, 2014 16:52
@gruzzilkin
Copy link
Collaborator Author

Первый раз сквошил коммиты, похерил в итоге историю ^_^

Надеюсь, в этом нет ничего страшного, остальные твои замечания исправил.

* @module cut
*/

modules.define('cut', ['button'], function(provide, _, Cut) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Что нужно сделать, чтобы заставить работать код из этого файла? У меня кончились варианты.

Copy link
Owner

Choose a reason for hiding this comment

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

так ты ж этот модификатор ен указал нигде - ни в bemjson, ни в deps. В зависимостях у тебя вообще указан элемент switcher, которого не существует

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