Skip to content
This repository has been archived by the owner on Oct 13, 2018. It is now read-only.

Commit

Permalink
allow overriding of tagnames option, re: BrowserSync/browser-sync#411
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Osbourne committed Feb 18, 2015
1 parent 626ab64 commit d7a8015
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ var current = function () {
* @param {BrowserSync} bs
*/
exports.init = function (bs) {
if (bs.options.tagNames) {
options.tagNames = bs.options.tagNames;
}
exports.saveScroll(utils.getWindow(), utils.getDocument());
bs.socket.on("file:reload", exports.reload(bs));
bs.socket.on("browser:reload", function () {
Expand Down
Loading

0 comments on commit d7a8015

Please sign in to comment.