This repository has been archived by the owner on Dec 31, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to 1.7.1 and 1.7 build profile.
- Loading branch information
Showing
25 changed files
with
156 additions
and
178 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
www/js/dojo-release-1.6.0-src | ||
dist |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[submodule "src/js/dojo"] | ||
path = src/js/dojo | ||
[submodule "src/dojo"] | ||
path = src/dojo | ||
url = https://github.com/dojo/dojo.git | ||
[submodule "src/js/dijit"] | ||
path = src/js/dijit | ||
[submodule "src/dijit"] | ||
path = src/dijit | ||
url = https://github.com/dojo/dijit.git | ||
[submodule "src/js/dojox"] | ||
path = src/js/dojox | ||
[submodule "src/dojox"] | ||
path = src/dojox | ||
url = https://github.com/dojo/dojox.git | ||
[submodule "src/js/util"] | ||
path = src/js/util | ||
[submodule "src/util"] | ||
path = src/util | ||
url = https://github.com/dojo/util.git |
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 file was deleted.
Oops, something went wrong.
File renamed without changes.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/** | ||
* This file is your application's main JavaScript file. It is listed as a dependency in run.js and will | ||
* automatically load when run.js loads. | ||
* | ||
* Because this file has the special filename "main.js", and because we've registered the "app" package in run.js, | ||
* whatever object this module returns can be loaded by other files simply by requiring "app" (instead of "app/main"). | ||
* | ||
* Our first dependency is to the "dojo/has" module, which allows us to conditionally execute code based on | ||
* configuration settings or environmental information. Unlike a normal conditional, these branches can be compiled | ||
* away by the build system; see staticHasFeatures in profiles/main.profile.js for more information. | ||
* | ||
* Our second dependency is to the special module "require"; this allows us to make additional require calls using | ||
* relative module IDs within the body of our define function. | ||
* | ||
* In all cases, whatever function is passed to define() is only invoked once, and the return value is cached. | ||
* | ||
* More information about everything described about the loader throughout this file can be found at | ||
* http://livedocs.dojotoolkit.org/loader/amd. | ||
*/ | ||
define([ 'dojo/has', 'require' ], function (has, require) { | ||
var app = {}; | ||
|
||
if (has('host-browser')) { | ||
/* | ||
* This require call's first dependency, "./Dialog", uses a relative module identifier; you should use this | ||
* type of notation for dependencies *within* a package in order to ensure the package is fully portable. It | ||
* works like a path, where "./" refers to the current directory and "../" refers to the parent directory. If | ||
* you are referring to a module in a *different* package, you should *not* use a relative module identifier. | ||
* | ||
* The second dependency is a plugin dependency; in this case, it is a dependency on the special functionality | ||
* of the "dojo/domReady" plugin, which waits until the DOM is ready before finishing loading. | ||
* The "!" after the module name indicates you want to use special plugin functionality; if you were to | ||
* require just "dojo/domReady", it would load that module just like any other module, without any of the | ||
* special plugin functionality. | ||
*/ | ||
require([ './Dialog', 'dojo/domReady!' ], function (Dialog) { | ||
app.dialog = new Dialog().placeAt(document.body); | ||
|
||
// It is important to remember to always call startup on widgets after you have added them to the DOM. | ||
// It won't hurt if you do it twice, but things will often not work right if you forget to do it. | ||
app.dialog.startup(); | ||
|
||
// And now… | ||
app.dialog.show(); | ||
}); | ||
} | ||
else { | ||
console.log('Hello from the server!'); | ||
} | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "app", | ||
"version": "1.0", | ||
"main": "main", | ||
"dependencies": { | ||
"dojo": "current", | ||
"dijit": "current", | ||
"dojox": "current", | ||
"util": "current" | ||
}, | ||
"description": "Dojo Boilerplate Example Application. A quick-start application that demonstrates basic usage of the Dojo Toolkit.", | ||
"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": "https://github.com/csnover/dojo-boilerplate/issues", | ||
"keywords": ["JavaScript", "Dojo", "Boilerplate", "Example", "Howto"], | ||
"homepage": "https://github.com/csnover/dojo-boilerplate", | ||
"dojoBuild": "app.profile.js" | ||
} |
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 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.