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
({ | |
// base url, relative to appDir | |
baseUrl: './', | |
// output directory, relative to this file | |
dir: './build', | |
// closure, closure.keepLines, none | |
optimize: 'closure', |
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/lib/less/tree/url.js b/lib/less/tree/url.js | |
index 33b05b9..f53f1ea 100644 | |
--- a/lib/less/tree/url.js | |
+++ b/lib/less/tree/url.js | |
@@ -14,8 +14,15 @@ tree.URL = function (val, paths) { | |
}; | |
tree.URL.prototype = { | |
toCSS: function () { | |
- return "url(" + (this.attrs ? 'data:' + this.attrs.mime + this.attrs.charset + this.attrs.base64 + this.attrs.data | |
- : this.value.toCSS()) + ")"; |
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 () { | |
var foo = { | |
bar: 'baz' | |
} | |
define('foo', [], foo); | |
}()); |
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
/* empty */ |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html dir="ltr"> | |
<head> | |
<style type="text/css"> | |
body, html { font-family:helvetica,arial,sans-serif; font-size:90%; } | |
</style> | |
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js" | |
djConfig="parseOnLoad: true"> | |
</script> |
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
<script> | |
var djConfig = { | |
modulePaths: { | |
docs: '../../../docs', | |
CodeGlass: '../../../CodeGlass' | |
} | |
} | |
</script> | |
<script src="../../_addon/dojo_build/tmp/dojo-release-1.5.0-src/dojo/dojo.js"></script> |
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 start = Date.now(), | |
i = 1e5, | |
a = [0,1,2,3,4,5,6,7,8,9], | |
total, l, j; | |
while(i--){ | |
total = 0; | |
// uncomment the line you want to test | |
l = a.length; while(l--){ total = total + a[l]; } | |
//for(j = 0, l=a.length; j < l; j++){ total = total + a[j]; } |
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 start = Date.now(), | |
i = 1e5; | |
while(i--){ | |
//'abc'.search(/a/); | |
//'abc'.match(/a/); | |
/a/.test('abc'); | |
///a/.exec('abc'); | |
} | |
console.log(Date.now() - start); |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<title>Dialog Widget Dojo Tests</title> | |
<style type="text/css"> | |
@import "../../dojo/resources/dojo.css"; | |
@import "css/dijitTests.css"; |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>#10705 Test</title> | |
<link rel='stylesheet' href='../dojo/resources/dojo.css'> | |
<link rel='stylesheet' href='../dijit/themes/dijit.css'> | |
<link rel='stylesheet' href='../dijit/themes/tundra/tundra.css'> | |
<script type='text/javascript'> |