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
---------- Forwarded message ---------- | |
From: Mark S. Miller <[email protected]> | |
Date: Tue, Nov 16, 2010 at 3:44 PM | |
Subject: "Future of Javascript" doc from our internal "JavaScript Summit" | |
last week | |
To: [email protected] | |
On November 10th and 11th, a number of Google teams representing a variety | |
of viewpoints on client-side languages met to agree on a common vision for | |
the future of Javascript. |
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
define(function( require ) { | |
$ = require('jquery'); | |
Modernizr = require('modernizr'); | |
/** | |
* @name File | |
* @class File | |
* @constructor | |
*/ |
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 requirejs = require( 'requirejs' ), | |
querystring = require( 'querystring' ), | |
http = require( 'http' ), | |
globals = requirejs( 'profiles/p1/lib/constants/globals' ); | |
var routes = function( app ) { | |
var options = { | |
hostname : globals.ACCOUNTS + '.' + globals.SERVER_DOMAIN, |
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 Specificity = (function() { | |
var C = {}; | |
function numMatches(selector, regex) { | |
return (selector.match(regex) || []).length; | |
} | |
function is(selector, element) { | |
var div = document.createElement("div"), |
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
# Numerous always-ignore extensions | |
*.diff | |
*.err | |
*.orig | |
*.log | |
*.rej | |
*.swo | |
*.swp | |
*.vi | |
*~ |
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 sortPoints(points) { | |
points.sort(function(a, b) { | |
if(a[0] > b[0]) | |
return -1; | |
if(a[0] < b[0]) | |
return 1; | |
if(a[1] > b[1]) | |
return -1; | |
if(a[1] < b[1]) | |
return 1; |
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/editors/ckeditor.inc b/editors/ckeditor.inc | |
index 896fc84..dc76a33 100644 | |
--- a/editors/ckeditor.inc | |
+++ b/editors/ckeditor.inc | |
@@ -130,8 +130,8 @@ function wysiwyg_ckeditor_settings($editor, $config, $theme) { | |
'baseHref' => $GLOBALS['base_url'] . '/', | |
'width' => '100%', | |
// For better compatibility with smaller textareas. | |
- 'resize_minWidth' => 450, | |
- 'height' => 420, |
NewerOlder