diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
commit | 1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch) | |
tree | 3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojox/grid/tests/support/test_data_objects.js | |
parent | 104d59099e048688c4dbac37d72137006e396558 (diff) | |
download | semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.bz2 |
Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/grid/tests/support/test_data_objects.js')
-rw-r--r-- | includes/js/dojox/grid/tests/support/test_data_objects.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/includes/js/dojox/grid/tests/support/test_data_objects.js b/includes/js/dojox/grid/tests/support/test_data_objects.js deleted file mode 100644 index 3d6e43a..0000000 --- a/includes/js/dojox/grid/tests/support/test_data_objects.js +++ /dev/null @@ -1,31 +0,0 @@ -// example sample data and code -(function(){ - // some sample data - // global var "data" - data = [ - { col1: "normal", col2: false, col3: "new", col4: 'But are not followed by two hexadecimal', col5: 29.91, col6: 10, col7: false }, - { col1: "important", col2: false, col3: "new", col4: 'Because a % sign always indicates', col5: 9.33, col6: -5, col7: false }, - { col1: "important", col2: false, col3: "read", col4: 'Signs can be selectively', col5: 19.34, col6: 0, col7: true }, - { col1: "note", col2: false, col3: "read", col4: 'However the reserved characters', col5: 15.63, col6: 0, col7: true }, - { col1: "normal", col2: false, col3: "replied", col4: 'It is therefore necessary', col5: 24.22, col6: 5.50, col7: true }, - { col1: "important", col2: false, col3: "replied", col4: 'To problems of corruption by', col5: 9.12, col6: -3, col7: true }, - { col1: "note", col2: false, col3: "replied", col4: 'Which would simply be awkward in', col5: 12.15, col6: -4, col7: false } - ]; - var rows = 100; - for(var i=0, l=data.length; i<rows-l; i++){ - data.push(dojo.mixin({}, data[i%l])); - } - - // global var "model" - model = new dojox.grid.data.Objects(null, [ { col1: "fake" } ]); - model2 = new dojox.grid.data.Objects(null, [ { col1: "fake" } ]); - - // simple display of row info; based on model observation - // global var "modelChange" - modelChange = function(){ - var n = dojo.byId('rowCount'); - if(n){ - n.innerHTML = Number(model.getRowCount()) + ' row(s)'; - } - } -})(); |