documentation typos

This commit is contained in:
vieron
2012-07-18 19:08:36 +02:00
parent f4a9ae80d8
commit 6fe6f720da
6 changed files with 298 additions and 345 deletions
+43 -48
View File
@@ -298,7 +298,7 @@
"line": 231,
"description": "Creates the grid coords object representing the widget a add it to the mapped array of positions",
"itemtype": "method",
"name": "serialize_changed",
"name": "register_widget",
"return": {
"description": "Returns the instance of the Gridster class.",
"type": "Array"
@@ -677,20 +677,15 @@
},
{
"file": "src/jquery.gridster.js",
"line": 764,
"description": "Determines if the placeholder is currently over the row and col given.",
"line": 759,
"description": "Determines if the placeholder is currently over the column given.",
"itemtype": "method",
"name": "is_placeholder_in",
"name": "is_placeholder_in_col",
"params": [
{
"name": "col",
"description": "The column to check.",
"type": "Number"
},
{
"name": "row",
"description": "The row to check.",
"type": "Number"
}
],
"return": {
@@ -701,7 +696,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 778,
"line": 771,
"description": "Determines if the cell represented by col and row params is empty.",
"itemtype": "method",
"name": "is_empty",
@@ -725,7 +720,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 797,
"line": 790,
"description": "Determines if the cell represented by col and row params is occupied.",
"itemtype": "method",
"name": "is_occupied",
@@ -749,7 +744,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 817,
"line": 810,
"description": "Determines if there is a widget in the cell represented by col/row params.",
"itemtype": "method",
"name": "is_widget",
@@ -773,7 +768,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 842,
"line": 835,
"description": "Determines if there is a widget in the cell represented by col/row\nparams and if this is under the widget that is being dragged.",
"itemtype": "method",
"name": "is_widget_under_player",
@@ -797,7 +792,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 859,
"line": 852,
"description": "Get widgets overlapping with the player.",
"itemtype": "method",
"name": "get_widgets_under_player",
@@ -809,7 +804,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 881,
"line": 874,
"description": "Put placeholder at the row and column specified.",
"itemtype": "method",
"name": "set_placeholder",
@@ -833,7 +828,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 922,
"line": 915,
"description": "Determines whether the player can move to a position above.",
"itemtype": "method",
"name": "can_go_player_up",
@@ -852,7 +847,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 970,
"line": 963,
"description": "Determines whether a widget can move to a position above.",
"itemtype": "method",
"name": "can_go_widget_up",
@@ -871,7 +866,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1021,
"line": 1014,
"description": "Search a valid row for the widget represented by `widget_grid_data' in\nthe `upper_rows` array. Iteration starts from row specified in `min_row`.",
"itemtype": "method",
"name": "get_valid_rows",
@@ -900,7 +895,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1099,
"line": 1092,
"description": "Get widgets overlapping with the player.",
"itemtype": "method",
"name": "get_widgets_overlapped",
@@ -912,7 +907,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1132,
"line": 1125,
"description": "This callback is executed when the player begins to collide with a column.",
"itemtype": "method",
"name": "on_start_overlapping_column",
@@ -931,7 +926,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1144,
"line": 1137,
"description": "A callback executed when the player begins to collide with a row.",
"itemtype": "method",
"name": "on_start_overlapping_row",
@@ -950,7 +945,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1156,
"line": 1149,
"description": "A callback executed when the the player ends to collide with a column.",
"itemtype": "method",
"name": "on_stop_overlapping_column",
@@ -969,7 +964,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1174,
"line": 1167,
"description": "This callback is executed when the player ends to collide with a row.",
"itemtype": "method",
"name": "on_stop_overlapping_row",
@@ -988,7 +983,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1194,
"line": 1187,
"description": "Move a widget to a specific row. The cell or cells must be empty.\nIf the widget has widgets below, all of these widgets will be moved also\nif they can.",
"itemtype": "method",
"name": "move_widget_to",
@@ -1007,7 +1002,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1237,
"line": 1230,
"description": "Move up the specified widget and all below it.",
"itemtype": "method",
"name": "move_widget_up",
@@ -1032,7 +1027,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1283,
"line": 1276,
"description": "Move down the specified widget and all below it.",
"itemtype": "method",
"name": "move_widget_down",
@@ -1056,7 +1051,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1328,
"line": 1321,
"description": "Check if the widget can move to the specified row, else returns the\nupper row possible.",
"itemtype": "method",
"name": "can_go_up_to_row",
@@ -1085,7 +1080,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1417,
"line": 1410,
"description": "Get widgets below a widget.",
"itemtype": "method",
"name": "widgets_below",
@@ -1104,7 +1099,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1446,
"line": 1439,
"description": "Update the array of mapped positions with the new player position.",
"itemtype": "method",
"name": "set_cells_player_occupies",
@@ -1128,7 +1123,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1463,
"line": 1456,
"description": "Remove from the array of mapped positions the reference to the player.",
"itemtype": "method",
"name": "empty_cells_player_occupies",
@@ -1140,7 +1135,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1500,
"line": 1493,
"description": "Check if it's possible to move a widget to a specific col/row. It takes\ninto account the dimensions (`size_y` and `size_x` attrs. of the grid coords\n object) the widget occupies.",
"itemtype": "method",
"name": "can_move_to",
@@ -1169,7 +1164,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1535,
"line": 1528,
"description": "Given the leftmost column returns all columns that are overlapping with the player.",
"itemtype": "method",
"name": "get_targeted_columns",
@@ -1189,7 +1184,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1553,
"line": 1546,
"description": "Given the upper row returns all rows that are overlapping with the player.",
"itemtype": "method",
"name": "get_targeted_rows",
@@ -1209,7 +1204,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1570,
"line": 1563,
"description": "Get all columns and rows that a widget occupies.",
"itemtype": "method",
"name": "get_cells_occupied",
@@ -1228,10 +1223,10 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1598,
"line": 1591,
"description": "Iterate over the cells occupied by a widget executing a function for\neach one.",
"itemtype": "method",
"name": "for_each_column_occupied",
"name": "for_each_cell_occupied",
"params": [
{
"name": "el_grid_data",
@@ -1252,7 +1247,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1619,
"line": 1612,
"description": "Iterate over the columns occupied by a widget executing a function for\neach one.",
"itemtype": "method",
"name": "for_each_column_occupied",
@@ -1276,7 +1271,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1638,
"line": 1631,
"description": "Iterate over the rows occupied by a widget executing a function for\neach one.",
"itemtype": "method",
"name": "for_each_row_occupied",
@@ -1300,7 +1295,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1704,
"line": 1697,
"description": "Iterate over each widget above the column and row specified.",
"itemtype": "method",
"name": "for_each_widget_above",
@@ -1329,7 +1324,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1720,
"line": 1713,
"description": "Iterate over each widget below the column and row specified.",
"itemtype": "method",
"name": "for_each_widget_below",
@@ -1358,7 +1353,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1736,
"line": 1729,
"description": "Returns the highest occupied cell in the grid.",
"itemtype": "method",
"name": "get_highest_occupied_cell",
@@ -1370,7 +1365,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1768,
"line": 1761,
"description": "Set the current height of the parent grid.",
"itemtype": "method",
"name": "set_dom_grid_height",
@@ -1382,7 +1377,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1781,
"line": 1774,
"description": "It generates the neccessary styles to position the widgets.",
"itemtype": "method",
"name": "generate_stylesheet",
@@ -1406,10 +1401,10 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1825,
"line": 1818,
"description": "Injects the given CSS as string to the head of the document.",
"itemtype": "method",
"name": "generate_stylesheet",
"name": "add_style_tag",
"params": [
{
"name": "css",
@@ -1425,7 +1420,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1848,
"line": 1841,
"description": "Generates a faux grid to collide with it when a widget is dragged and\ndetect row or column that we want to go.",
"itemtype": "method",
"name": "generate_faux_grid",
@@ -1449,7 +1444,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1884,
"line": 1877,
"description": "Get all widgets in the DOM and register them.",
"itemtype": "method",
"name": "get_widgets_from_DOM",
@@ -1461,7 +1456,7 @@
},
{
"file": "src/jquery.gridster.js",
"line": 1898,
"line": 1891,
"description": "Calculate columns and rows to be set based on the configuration\n parameters, grid dimensions, etc ...",
"itemtype": "method",
"name": "generate_grid_and_stylesheet",