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

Commit

Permalink
Avoid messages about deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Dec 29, 2012
1 parent 22f2d61 commit 08cf8f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/showforpage.js
Expand Up @@ -4,6 +4,7 @@
var Ci = require("chrome").Ci,
Cr = require("chrome").Cr,
winUtils = require("sdk/deprecated/window-utils"),
winUtilsNew = require("sdk/window/utils"),
tabBrowser = require("sdk/deprecated/tab-browser"),
ShowForPage;

Expand Down Expand Up @@ -105,7 +106,7 @@ ShowForPage = function (options) {
onTrack: function (window) {
var appcontent = window.document.getElementById("appcontent");

if (!winUtils.isBrowser(window)) {
if (!winUtilsNew.isBrowser(window)) {
return;
}

Expand All @@ -119,7 +120,7 @@ ShowForPage = function (options) {
onUntrack: function (window) {
var appcontent = window.document.getElementById("appcontent");

if (!winUtils.isBrowser(window)) {
if (!winUtilsNew.isBrowser(window)) {
return;
}

Expand Down

0 comments on commit 08cf8f7

Please sign in to comment.