Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

first commit

  • Loading branch information...
commit e6860fedd901fe50f39facaf61260e98235e70d4 0 parents
@kriszyp authored
Showing with 28 additions and 0 deletions.
  1. +8 −0 lib/demo.js
  2. +20 −0 package.json
8 lib/demo.js
@@ -0,0 +1,8 @@
+define(["dojo"], function(dojo){
+ dojo.ready(function(){
+ var helloDiv = dojo.create("div", {
+ innerHTML: "Hello World"
+ }, document.body);
+ dojo.fadeIn(helloDiv);
+ });
+});
20 package.json
@@ -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/"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.