# Change Log ## 2.0.2 “Discoverer 11, attitude control” * Fix support detection (by xiaoping). ## 2.0.1 “Transit 1B, navigation” * Fix type definitions by @michaelgmcd. ## 2.0 “TIROS-1, clouds” * Remove Bower support. * Remove Sprockets support. * Remove Component support. ## 1.2.8 “Pioneer 5, solar wind” * Fix TypeScript module declaration by @maciejmrozinski. * Fix headless Chrome support by @runspired. * Reduce project size. ## 1.2.7 “Discoverer 8, hard” * Fix type definitions by @dpoetzsch. ## 1.2.6 “Discoverer 7, powerless” * Fix type definitions for TypeScript 2.6 by @marayfirth. ## 1.2.5 “Explorer 7, solar x-ray” * Add TypeScript definitions by Joel Hernández. ## 1.2.4 “Luna 3, Dark side of the Moon” * Fix race condition by Mikhail Vazhnov. ## 1.2.3 “Vanguard 3, 300 years” * Fix Rails support by @dimko. ## 1.2.2 “Luna 2, impact” * Fix Sprockets 3 support by Waseem Sadiq. * Add Component support by Mitchel Kelonye. ## 1.2.1 “Discoverer 6, again” * Fix Bower config by Misha Ponizil. ## 1.2.0 “Discoverer 5, spy” * Allow to use in CommonJS. * Release npm package. * Reduce library size to 10 %. * Allow to use latest version from master in Ruby Bundler. * Method `hidden()` now always return boolean. * Change repository URL to `github.com/ai/visibilityjs`. ## 1.1.0 “Explorer 6, photo” * Prevent to run timer often, that it’s interval, when visibility was changed. * Allow to install by Bower package manager. * Change license to MIT. * Reduce library size. ## 1.0.0 “Discoverer 2, stable” * Remove jQuery.Chrono integration. * Remove outdated Firefox prefix. ## 0.6.2 “Pioneer 4, American Sun” * Decrease files size (by compressible code and UnglifyJS 2). * Remove unnecessary vendor prefixes from fallback. ## 0.6.1 “Vanguard 2, weather” * Remove unnecessary vendor prefixes. ## 0.6 “Luna 1, Mechta” * Methods onVisible and afterPrerendering return listener ID (by mcfedr). * Fix documentation (by Erwänn Mest). ## 0.5 “SCORE, communication” * Split library to core and timers modules. * Allow to unbind change listener. * Use common logic in change(), afterPrerendering() and onVisible(). ## 0.4.5 “Pioneer 3, closer” * Fix gem assets directory. * Update development dependencies. ## 0.4.4 “Pioneer 1, deeper into space” * Remove non-ASCII symbols from gemspec. * Print testing URL in test task. ## 0.4.3 “Explorer 4, short” * Fix gemspec issue with Bundler. ## 0.4.2 “Sputnik 3, real” * Reorder code to show first public and common methods. * Use node.js Cake instead of Ruby’s Rake to build tasks. * Move to Mocha, Chai and Sinon.JS for tests. * Move autogenerated minified to GitHub downloads. ## 0.4.1 “Explorer 3, repeat” * Fix documentation and gemspec. ## 0.4 “Vanguard 1, alternative” * Add fallback API support by focus/blur hack to all browsers. ## 0.3 “Explorer 1, answer” * Rename gem to visibilityjs. * Fix gem integration with Asset Pipeline paths. ## 0.2 “Sputnik 2, Laika” * Rename support() to isSupported() and notPrerender() to afterPrerendering(). * Fix IE 6 and 7 support. * Documentation fixes by Peter Zotov. ## 0.1 “Sputnik 1, the first” * Initial release.