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

Introduce the CKEDITOR.isDebug property #28

Closed
Reinmar opened this issue Oct 2, 2015 · 0 comments
Closed

Introduce the CKEDITOR.isDebug property #28

Reinmar opened this issue Oct 2, 2015 · 0 comments
Assignees
Milestone

Comments

@Reinmar
Copy link
Member

Reinmar commented Oct 2, 2015

Related to https://github.com/ckeditor/ckeditor5-core/issues/38.

We need a property which will allow us to conditionally disable/enable some debug logs. For instance it could be used as follows:

if ( CKEDITOR.isDebug ) {
    if ( doSomeSuperUnnecessaryDebugChecks() ) {
        throw new CKEditorError( 'sth-broke: Kaboom!' );
    }
}

Later on we'll need to work on #27 to make it fully functional.

The idea here is that this isn't necessarily constant (as it might need to be switchable while debugging something) and that it's something different than already existing CKEDITOR.isDev (as we may want to build a debug version of CKEditor).

@Reinmar Reinmar self-assigned this Oct 2, 2015
@Reinmar Reinmar modified the milestone: 0.1.0 Mar 4, 2016
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

No branches or pull requests

1 participant