[ Launch: Tributary inlet ] 85efad4177610871a104 by celikmus[ Launch: Tributary inlet ] 354cc094be582710b0e4 by celikmus
[ Launch: Tributary inlet ] 354cc094be582710b0e4 by celikmus
[ Launch: test ] 658091c3dc5579b475a0 by celikmus[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
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
// intern config file: | |
loader: { | |
// Packages that should be registered with the loader in each testing environment | |
packages: [ { name: 'visitorsPortal', location: 'portals/visitor' }, | |
{ name: 'dojo', location: 'lib/dojo/dojo'}, | |
{ name: 'dijit', location: 'lib/dojo/dijit'}, | |
{ name: 'portalLib', location: 'portals/lib'} ] | |
}, | |
suites: [ 'tests/uitests' ], |
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
var handle_xhrGetResponse = function(response, ioArgs) | |
{ | |
console.log("received Response from server"); | |
var myData = { "identifier": "id", "items": response }; | |
myData.items = dojo.map( myData.items, function(x) { x = x.course; return x;}); | |
var jsonStore = new dojo.data.ItemFileReadStore({data: myData }); |
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
var handle_xhrGetResponse = function(response, ioArgs) | |
{ | |
/* | |
I can see response in Firebug, has been validated as JSON | |
by jsonformatter.curiousconcept.com... Pasted it towards the | |
end of the page. | |
*/ | |
console.log("received Response from 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
var handle_xhrGetResponse = function(response, ioArgs) | |
{ | |
// first try... This worked when server sent one object(see the object contents below to this page) | |
// however, it fails to create jsonStore (undefined) when server sends multiple objects in response. | |
// var jsonStore = new dojo.data.ItemFileReadStore({data: {items: [response.course]}}); | |
// var jsonStore = new dojo.data.ItemFileReadStore({data: myData}); | |
// second try... doesn't work... for both cases. | |
// var myData = {'label': 'myResponseData', 'identifier': 'course','items': [response.course]}; |
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
Expected declaration but found '*'. Skipped to next declaration. | |
[Break on this error] *font-size: 75%; | |
dojo.css (line 95) | |
Expected declaration but found '*'. Skipped to next declaration. | |
[Break on this error] *font-size:100%; | |
dojo.css (line 150) | |
Expected declaration but found '#zoom'. Skipped to next declaration. | |
[Break on this error] #zoom: 1; /* set hasLayout:true to mimic inline-block */ | |
dijit.css (line 32) | |
Expected declaration but found '#display'. Skipped to next declaration. |
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
<!-- | |
! Excerpted from "Mastering Dojo", | |
! published by The Pragmatic Bookshelf. | |
! Copyrights apply to this code. It may not be used to create training material, | |
! courses, books, articles, and the like. Contact us if you are in doubt. | |
! We make no guarantees that this code is fit for any purpose. | |
! Visit http://www.pragmaticprogrammer.com/titles/rgdojo for more book information. | |
--> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
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
Following the steps at the DojoBuild 101 video on DojoCampus: | |
cd util/buildscripts/profiles/ | |
cp layers.profile.js my.profile.js | |
vi my.profile.js | |
---> Take out comments | |
---> Take out dojo.js layer, string discard layer, | |
---> Remove layer dependencies ono dijit/dijit... | |
change dijit/dijit.js to dojo/dtklayer.js and dijit.dijit to dojo.dtklayer, | |
and at the dependencies, change dijit.dijit to "dojox.widget.Dialog", |
NewerOlder