Skip to content

Commit

Permalink
Fixed JSLint type confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
vseventer committed Jun 22, 2011
1 parent 55c6c68 commit 0dcd74a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/simple.php
Expand Up @@ -28,7 +28,7 @@ function full_flush() {
<script>
BigPipe.onArrive({
id: 'test',
html: 'Bar',
data: 'Bar',
onStateChange: function(state, context) {
if(2 >= state) {//HTML not yet injected
context.target.html('Baz');
Expand All @@ -43,7 +43,7 @@ function full_flush() {
<script>
BigPipe.onArrive({
id: 'test2',
html: 'Bar2',
data: 'Bar2',
onStateChange: function(state, context) {
if(2 >= state) {//HTML not yet injected
context.target.html('Baz2');
Expand Down
4 changes: 2 additions & 2 deletions src/bigpipe.js
Expand Up @@ -185,7 +185,7 @@

// Render HTML
setState(2);
that.target.html(that.options.html);//replace HTML
that.target.html(that.options.data);//replace HTML
setState(3);
};

Expand Down Expand Up @@ -362,7 +362,7 @@
*/
$.BigPipe.pagelet = {
id: 'pagelet',
html: '',
data: '',
js: [],
css: [],
onStateChange: function() { }
Expand Down

0 comments on commit 0dcd74a

Please sign in to comment.