-
-
Save Me1000/848646 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* AppController.j | |
* designer | |
* | |
* Created by You on February 2, 2010. | |
* Copyright 2010, Your Company All rights reserved. | |
*/ | |
// @implementation CPPlatform (disableHTMLDrag) | |
// + (BOOL)supportsDragAndDrop { | |
// return NO; | |
// } | |
// @end | |
@import <Foundation/Foundation.j> | |
@import <AppKit/AppKit.j> | |
@import "AppController.j" | |
function main(args, namedArgs) | |
{ | |
CPApplicationMain(args, namedArgs); | |
CPLogRegister(CPLogConsole); | |
function getsatisfactionload() | |
{ | |
var feedback_widget_options = {}; | |
feedback_widget_options.display = "overlay"; | |
feedback_widget_options.company = "hp_wallart"; | |
feedback_widget_options.placement = "left"; | |
feedback_widget_options.color = "#222"; | |
feedback_widget_options.style = "idea"; | |
var feedback_widget = new GSFN.feedback_widget(feedback_widget_options); | |
} | |
var is_ssl = ("https:" == document.location.protocol); | |
var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/"; | |
document.write(unescape("%3Cscript onload='getsatisfactionload()' src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment