Skip to content

Commit

Permalink
Switch to using put-selector
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Aug 19, 2011
1 parent 982ec15 commit bda52ca
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CellSelection.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["dojo/_base/declare", "./Selection", "dojo/on", "xstyle/put"], function(declare, Selection, listen, put){
define(["dojo/_base/declare", "./Selection", "dojo/on", "put-selector/put"], function(declare, Selection, listen, put){
return declare([Selection], {
// summary:
// Add cell level selection capabilities to a grid. The grid will have a selection property and
Expand Down
2 changes: 1 addition & 1 deletion ColumnSet.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["xstyle/css!./css/columnset.css", "dojo/has", "xstyle/put", "dojo/_base/declare", "dojo/on", "dojo/aspect", "dojo/query", "./Grid", "xstyle/has-class", "dojo/_base/sniff"],
define(["xstyle/css!./css/columnset.css", "dojo/has", "put-selector/put", "dojo/_base/declare", "dojo/on", "dojo/aspect", "dojo/query", "./Grid", "xstyle/has-class", "dojo/_base/sniff"],
function(styleSheet, has, put, declare, listen, aspect, query, Grid, hasClass){
// summary:
// This module provides column sets to isolate horizontal scroll of sets of
Expand Down
2 changes: 1 addition & 1 deletion DnD.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["./List", "dojo/_base/declare", "dojo/_base/lang", "dojo/on", "dojo/_base/Deferred", "dojo/dnd/Source", "dojo/dnd/Manager", "xstyle/put", "xstyle/css!dojo/resources/dnd.css"], function(List, declare, lang, on, Deferred, DnDSource, DnDManager, put){
define(["./List", "dojo/_base/declare", "dojo/_base/lang", "dojo/on", "dojo/_base/Deferred", "dojo/dnd/Source", "dojo/dnd/Manager", "put-selector/put", "xstyle/css!dojo/resources/dnd.css"], function(List, declare, lang, on, Deferred, DnDSource, DnDManager, put){
// TODOC: store requirements
// * requires a store (sounds obvious, but not all Lists/Grids have stores...)
// * must support options.before in put calls
Expand Down
2 changes: 1 addition & 1 deletion Editor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["dojo/on", "dojo/has", "xstyle/put", "dojo/_base/sniff"], function(on, has, put){
define(["dojo/on", "dojo/has", "put-selector/put", "dojo/_base/sniff"], function(on, has, put){

return function(column, editor, editOn){
// summary:
Expand Down
2 changes: 1 addition & 1 deletion Selection.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["dojo/_base/declare", "dojo/on", "./List", "xstyle/put", "dojo/has"], function(declare, listen, List, put, has){
define(["dojo/_base/declare", "dojo/on", "./List", "put-selector/put", "dojo/has"], function(declare, listen, List, put, has){
return declare([List], {
// summary:
// Add selection capabilities to a grid. The grid will have a selection property and
Expand Down
2 changes: 1 addition & 1 deletion Tree.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["dojo/_base/declare", "xstyle/put", "dojo/_base/Deferred", "dojo/query"], function(declare, put, Deferred, querySelector){// TODO: eliminate the dojo/query dep by supporting simple event delegation in the List module
define(["dojo/_base/declare", "put-selector/put", "dojo/_base/Deferred", "dojo/query"], function(declare, put, Deferred, querySelector){// TODO: eliminate the dojo/query dep by supporting simple event delegation in the List module

return function(column){
// summary:
Expand Down
2 changes: 1 addition & 1 deletion doc/api.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["dojo/dom", "dojo/_base/declare", "dojo/on", "xstyle/put", "dgrid/OnDemandGrid","dgrid/Tree", "dgrid/Selection", "dgrid/Keyboard", "dojo/store/Memory"],
define(["dojo/dom", "dojo/_base/declare", "dojo/on", "put-selector/put", "dgrid/OnDemandGrid","dgrid/Tree", "dgrid/Selection", "dgrid/Keyboard", "dojo/store/Memory"],
function(dom, declare, on, put, Grid, Tree, Selection, Keyboard, Memory){
return function(data, explorerElement){
function getChildren(object){
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"url":"http://github.com/kriszyp/dgrid"
},
"dependencies": {
"dojo": "1.7.0b3",
"dojo": "1.7.0b4",
"put-selector": "0.1.2",
"xstyle": "master"
},
"directories": {
Expand Down

0 comments on commit bda52ca

Please sign in to comment.