Closed adelura closed 9 years ago
You're right. This should become a vanilla DOM retrieval.
I wonder about strategy for old IE`s. Do we want to iclude extra script which will fix issues? For example lack of classList object. Do we prefer polyfill or maybe introduce some global object which will implement functionalities which we need?
var elem = document.getElementById( 'foo' );
// sf stands for samples framework
sf.classList.add( elem, 'bar' );
I don't think we need a polyfill now. There won't be enough JS yet to benefit from it.
Thix issue was fixed via #34. I intruduced JavaScript SF object with functionalities which will be described in #37.
In here we rely on CKEDITOR namespave but it won't be available all the time i.e. CKFinder samples.