-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: hackaton
Are you sure you want to change the base?
Conversation
describe('open/close', function() { | ||
it('should show/hide container on open/close', function() { | ||
var container = cut.getContainer(), | ||
containerClass = 'cut__container_visible'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
такого делать не нужно. Нужно брать "честное" состояние элемента
сосквошь коммиты |
bb398e3
to
b54702f
Compare
b54702f
to
d7706ac
Compare
Первый раз сквошил коммиты, похерил в итоге историю ^_^ Надеюсь, в этом нет ничего страшного, остальные твои замечания исправил. |
* @module cut | ||
*/ | ||
|
||
modules.define('cut', ['button'], function(provide, _, Cut) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Что нужно сделать, чтобы заставить работать код из этого файла? У меня кончились варианты.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
так ты ж этот модификатор ен указал нигде - ни в bemjson, ни в deps. В зависимостях у тебя вообще указан элемент switcher
, которого не существует
Add unit tests and fix example. Actualization of the branch.