Skip to content

Commit

Permalink
Safari should use the plugin backend
Browse files Browse the repository at this point in the history
  • Loading branch information
azinman committed Feb 18, 2011
1 parent e1461dc commit d944f3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions safari-extension-mac/DepthJS.safariextension/safari.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ if (DepthJS) {
console.log("DepthJS Loading Safari shit");
DepthJS.initBrowserBackground = function() {
console.log("DepthJS: Initing Safari background");
// Choose the NPAPI-based backend
DepthJS.backend.connect = DepthJS.npBackend.connect;
DepthJS.backend.disconnect = DepthJS.npBackend.disconnect;

DepthJS.toolbar.init = function() {

var modes = ["PannerMode", "SelectorBoxMode", "DepthoseMode"];
Expand Down

0 comments on commit d944f3d

Please sign in to comment.