browser-sync
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -5,4 +5,8 @@ var browserSync = require("./lib/index"); | ||
server: { | ||
baseDir: "test/fixtures" | ||
baseDir: "test/fixtures", | ||
middleware: [function (req, res, next) { | ||
console.log("moddiel"); | ||
next() | ||
}] | ||
} | ||
}); |
@@ -79,2 +79,5 @@ /*global window*/ | ||
var html = document.getElementsByTagName("HTML")[0]; | ||
html.style.position = "relative"; | ||
if (styles) { | ||
@@ -93,3 +96,5 @@ elem.style.cssText = styles.join(";"); | ||
notify: function (message, elem, timeout) { | ||
if(!document.getElementById("notifyElem")) { | ||
notifyElem = this.createNotifyElem(styles || null); | ||
} | ||
elem.innerHTML = message; | ||
@@ -173,3 +178,3 @@ elem.style.top = ghost.getScrollTop() + "px"; | ||
if (elems.length) { | ||
if (elems.length && scope.options.notify) { | ||
browserSync.notify("Injected: " + data.assetFileName, notifyElem); | ||
@@ -176,0 +181,0 @@ } |
{ | ||
"name": "browser-sync", | ||
"description": "Live CSS Reload & Browser Syncing", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"homepage": "https://github.com/shakyshane/browser-sync", | ||
@@ -43,3 +43,3 @@ "author": { | ||
"cl-strings": "~0.0.5", | ||
"resp-modifier": "~0.0.2" | ||
"resp-modifier": "0.0.3" | ||
}, | ||
@@ -46,0 +46,0 @@ "devDependencies": { |
@@ -63,23 +63,19 @@ # browser-sync [![Build Status](https://travis-ci.org/shakyShane/browser-sync.png?branch=master)](https://travis-ci.org/shakyShane/browser-sync) [![NPM version](https://badge.fury.io/js/browser-sync.png)](http://badge.fury.io/js/browser-sync) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) | ||
<table> | ||
<thead> | ||
<tr> | ||
<td>Commits</td> | ||
<td>Name</td> | ||
</tr> | ||
</thead> | ||
<tr><td>293</td><td> Shane Osbourne</td></tr> | ||
<tr><td>11</td><td> Hugo Bessa</td></tr> | ||
<tr><td>2</td><td> brutaldev</td></tr> | ||
<tr><td>2</td><td> chase_chou</td></tr> | ||
<tr><td>1</td><td> Sylvain Emery</td></tr> | ||
<tr><td>1</td><td> Tony Holdstock-Brown</td></tr> | ||
<tr><td>1</td><td> Werner van Deventer</td></tr> | ||
<tr><td>1</td><td> mericson</td></tr> | ||
<tr><td>1</td><td> Carl Henderson</td></tr> | ||
<tr><td>1</td><td> viktor hesselbom</td></tr> | ||
<tr><td>1</td><td> Dave Hall</td></tr> | ||
<tr><td>1</td><td> Jory Graham</td></tr> | ||
<tr><td>1</td><td> Robert Vock</td></tr> | ||
</table> | ||
``` | ||
318 Shane Osbourne | ||
13 Hugo Bessa | ||
2 brutaldev | ||
2 chase_chou | ||
2 Hugo Dias | ||
1 Sylvain Emery | ||
1 Tony Holdstock-Brown | ||
1 Werner van Deventer | ||
1 mericson | ||
1 Carl Henderson | ||
1 viktor hesselbom | ||
1 Dave Hall | ||
1 Guillaume Lambert | ||
1 Jory Graham | ||
1 Robert Vock | ||
``` | ||
@@ -86,0 +82,0 @@ ## License |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1556289
19267
84
+ Addedresp-modifier@0.0.3(transitive)
- Removedresp-modifier@0.0.5(transitive)
Updatedresp-modifier@0.0.3