Permalink
Browse files

first commit

  • Loading branch information...
0 parents commit e6860fedd901fe50f39facaf61260e98235e70d4 @kriszyp committed Jan 3, 2011
Showing with 28 additions and 0 deletions.
  1. +8 −0 lib/demo.js
  2. +20 −0 package.json
@@ -0,0 +1,8 @@
+define(["dojo"], function(dojo){
+ dojo.ready(function(){
+ var helloDiv = dojo.create("div", {
+ innerHTML: "Hello World"
+ }, document.body);
+ dojo.fadeIn(helloDiv);
+ });
+});
@@ -0,0 +1,20 @@
+{
+ "name": "commonjs-package-template",
+ "mappings": {
+ "dojo": "https://github.com/dojo/dojo/zipball/v1.6.0alpha1"
+ },
+ "description": "Template for CommonJS packages",
+ "licenses": [
+ {
+ "type": "AFLv2.1",
+ "url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L43"
+ },
+ {
+ "type": "BSD",
+ "url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13"
+ }
+ ],
+ "bugs": "http://bugs.dojotoolkit.org/",
+ "keywords": ["Template"],
+ "homepage": "http://dojotoolkit.org/"
+}

0 comments on commit e6860fe

Please sign in to comment.