Skip to content

Releases: night-js/night.js

1.2.0

12 Dec 16:23
Compare
Choose a tag to compare

Changes

Bug Fix

  • fixed interval error

Repository Changes

  • updated Prettier config

1.2.0 beta 1

02 Dec 20:31
Compare
Choose a tag to compare
1.2.0 beta 1 Pre-release
Pre-release

Changes

Internal

  • changed sunset & sunrise values to middle of the time between start and end

Improvement

  • cleaned up tests

Bug Fix

  • fixed test:watch script error

Repository Changes

  • added Travis CI config
  • added Prettier config
  • added ESLint config

1.1.8

26 Nov 14:48
Compare
Choose a tag to compare
1.1.8 Pre-release
Pre-release

Changes

New Feature

  • added interval to switch theme just after sunrise & sunset without page reload

1.1.7

19 Nov 14:46
Compare
Choose a tag to compare

Changes

Internal

  • renamed method settings() to extendSettings() to avoid conflict with variable settings

1.1.5 / 1.1.6

17 Nov 19:18
Compare
Choose a tag to compare

Changes

Tests

  • updated tests

1.1.4

12 Nov 10:08
Compare
Choose a tag to compare

Changes

Bug Fix

  • fixed bug with window global variable in Node.js

1.1.3

01 Nov 19:13
Compare
Choose a tag to compare

Changes

Internal

  • cleaned up

Dependencies

  • removed unused devDependencies

1.1.1 / 1.1.2

21 Oct 14:21
Compare
Choose a tag to compare

Changes

Documentation

  • updated README.md

1.1.0

01 Oct 19:10
Compare
Choose a tag to compare

Changes

New Feature

  • handle error on disallow permission to geolocation
  • added onDenied callback
  • added smartDarkError event on disallow permission to geolocation

Improvement

  • onCacheClear callback is available if cacheClear option is enabled

Bug Fix

  • fixed smartDark event on auto init