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
(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
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
({ | |
// 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
define([ | |
'dojo', | |
'./mustache' | |
], function (d, mustache) { | |
var dfe = d.forEach, | |
empty = {}; | |
return d.declare(null, { | |
declaredClass: 'mustache_Templated', |
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/require.js b/require.js | |
old mode 100644 | |
new mode 100755 | |
index 9147d58..4341bad | |
--- a/require.js | |
+++ b/require.js | |
@@ -254,7 +254,7 @@ var require, define; | |
if (prefix) { | |
prefix = normalize(prefix, parentName); | |
//Allow simpler mappings for some plugins |
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
Environment: | |
Request Method: POST | |
Request URL: http://dev04.cello.com:8000/admin/cms/page/4/?language=en& | |
Django Version: 1.2.5 | |
Python Version: 2.7.1 | |
Installed Applications: | |
['django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', |
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
// Credit: this is derived from a combination of | |
// - https://gist.github.com/650000 | |
// - https://github.com/joyent/node/pull/350 | |
// - https://github.com/ajaxorg/cloud9/blob/master/support/requireJS-node.js | |
var path = require('path'), | |
fs = require('fs'), | |
defaultCompile = module.constructor.prototype._compile, | |
defaultResolveFilename = module.constructor._resolveFilename, | |
// this gives the main module a chance to use define iff it does so before any other module |
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
// foo/bar/one.js | |
define(['./two'], function (two) { | |
return { | |
two: two | |
}; | |
}); |
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([ | |
'dojo', | |
'dijit/_Widget', | |
'./_base', | |
'dojo/query!css3' | |
], function (d, _Widget, mustache, query) { | |
//'use strict'; | |
var dfe = d.forEach, | |
empty = {}; |