This file contains hidden or 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
if ( binding === "bindWindow" ) { | |
editorWindow = targetWindow || window.open( editorSrc, "", "width=" + editorWidth + ",height=" + editorHeight + ",menubar=no,toolbar=no,location=no,status=no" ); | |
setupServer(); | |
editorWindow.addEventListener( "unload", function() { | |
console.log ("unload!"); | |
butter.unlisten ( "trackeventupdated", updateEditor ); | |
butter.trigger( "trackeditforcedclosed" ); | |
}, false ); | |
} |
This file contains hidden or 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
var w = window.open(); | |
console.log( w ); | |
w.close(); | |
console.log( w ); |
This file contains hidden or 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
/* | |
* popcorn.js version abd0127 | |
* http://popcornjs.org | |
* | |
* Copyright 2011, Mozilla Foundation | |
* Licensed under the MIT license | |
*/ | |
(function(global, document) { |
This file contains hidden or 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
<html> | |
<head> | |
<script src="../../../src/butter.js" ></script> | |
<script src="../../../src/modules/butter.comm.js" ></script> | |
<script src="../../../../popcorn-js/popcorn.js" ></script> | |
<script> | |
var googleCallback; | |
var i = 1, | |
_mapFired = false, | |
_mapLoaded = false, |
This file contains hidden or 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
diff --git a/src/util/lang.js b/src/util/lang.js | |
index e3405e9..539b490 100644 | |
--- a/src/util/lang.js | |
+++ b/src/util/lang.js | |
@@ -4,7 +4,8 @@ | |
define( [], function(){ | |
- var DEFAULT_TRANSITION_TIMEOUT = 15; | |
+ var _transitionEndWrapperFn, |
This file contains hidden or 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
TypeError: Object #<Object> has no method 'toUTCString' | |
at Object.exports.serializeCookie (/Users/cadecairos/Documents/butter/node_modules/express/node_modules/connect/lib/utils.js:178:56) | |
at Object.Cookie.serialize (/Users/cadecairos/Documents/butter/node_modules/express/node_modules/connect/lib/middleware/session/cookie.js:113:18) | |
at ServerResponse.res.writeHead (/Users/cadecairos/Documents/butter/node_modules/express/node_modules/connect/lib/middleware/session.js:264:46) | |
at ServerResponse._implicitHeader (http.js:931:8) | |
at ServerResponse.res.end (/Users/cadecairos/Documents/butter/node_modules/express/node_modules/connect/lib/middleware/session.js:278:31) | |
at next (/Users/cadecairos/Documents/butter/node_modules/express/node_modules/connect/lib/http.js:172:13) | |
at pass (/Users/cadecairos/Documents/butter/node_modules/express/lib/router/index.js:219:24) | |
at Router._dispatch (/Users/cadecairos/Documents/butter/node_modules/express/lib/router/index.js:280:5) | |
at Object.middlewa |
This file contains hidden or 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
{ | |
"targets": [ | |
{ | |
"id": "video-container", | |
"name": "video-container", | |
"element": "video-container" | |
} | |
], | |
"media": [ | |
{ |
This file contains hidden or 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
NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [nsIDOMWindow.getComputedStyle] | |
http://192.168.137.54:8888/src/ui/widget/tooltip.js | |
Line 47 |
This file contains hidden or 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
, | |
"tutorial": { | |
"general": [ | |
{ | |
"start": 5, | |
"end": 15, | |
"name": "foo", | |
"element": ".butter-editor-header-media", | |
"message": "This is The Media Editor", | |
"top": "50px", |
This file contains hidden or 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
function isPrime( num ) { | |
if (num < 2) { | |
return 0; | |
} | |
for ( var i = 2; i < Math.abs( Math.sqrt( num ) + 1); i++ ) { | |
if ( num % i === 0 ) { | |
return false; | |
} | |
} |
OlderNewer