Dojo stuff.
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
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
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
<html> | |
</html> |
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
require.config({ | |
paths: { | |
'jquery': '//code.jquery.com/jquery-1.9.1', | |
'angular': '//ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min', | |
'bootstrap': '//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/js/bootstrap.min', | |
'my-library': '//gist.github.com/gitgrimbo/5689953/raw/9b44d7e5f504b2245331be3ed3fcbb7bf8635da6/gistfile1' | |
}, | |
shim: { | |
'bootstrap' : {deps:['jquery']}, | |
'angular' : {exports:'angular'} |
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
define(["angular", "my-library", "bootstrap"], function (angular, myLibrary, bootstrap) { | |
console.log(angular.version); | |
console.log(myLibrary); | |
console.log(undefined === bootstrap, "bootstrap augments jQuery and has no module return value"); | |
console.log("1.9.1" === $.fn.jquery, "boostrap should have caused jQuery to load"); | |
console.log("function" === typeof $.fn.alert.Constructor, "boostrap adds alert"); | |
}); |
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
/*! | |
* imagesLoaded PACKAGED v3.0.4 | |
* JavaScript is all like "You images are done yet or what?" | |
*/ | |
/*! | |
* EventEmitter v4.2.0 - git.io/ee | |
* Oliver Caldwell | |
* MIT license | |
* @preserve |
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
This is the gist response html |
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
body { | |
background: blue; | |
} |
Read intern CONTRIBUTING.md.
Use dojo2-core .jshintrc for jshint.
On Windows, instead of:
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
GitHub wiki full width | |
javascript:(function(){ | |
function $(id){return document.getElementById(id);} | |
var el=$("wiki-rightbar"); | |
el.parentElement.removeChild(el); | |
$("wiki-body").style.marginRight="0"; | |
}()) |
OlderNewer