Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Clean up #81

Merged
merged 8 commits into from
Jan 26, 2017
Merged

Clean up #81

merged 8 commits into from
Jan 26, 2017

Conversation

denysdovhan
Copy link
Contributor

  • Clean-up README.md
  • Use ESLint + eslint-config-brunch
  • Fix sources and tests

});

it('should be an object', function() {
expect(this.subject()).to.be.ok;
it('should be an object', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

It will always be an object. Guaranteed by spec.

it('should has #onCompile method', function() {
expect(this.subject().onCompile).to.be.an.instanceof(Function);
it('should has #onCompile method', () => {
expect(subject().onCompile).to.be.an.instanceof(Function);
Copy link
Contributor

Choose a reason for hiding this comment

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

.to.respondTo('onCompile')

@@ -118,7 +118,7 @@ class AutoReloader {
}
}

include() {
get include() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Ahh, sweet.

@@ -27,13 +27,13 @@ class AutoReloader {
}

if (config.persistent) {
this.enabled = (cfg.enabled == null) ? true : cfg.enabled;
this.enabled = cfg.enabled == null ? true : cfg.enabled;
}
this.hot = config.hot;
this.delay = cfg.delay;
this.cssMatch = cfg.match && cfg.match.stylesheets || /.css$/;
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's escape . here.

@shvaikalesh shvaikalesh merged commit 673350f into master Jan 26, 2017
@denysdovhan denysdovhan deleted the clean-up branch January 26, 2017 15:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants