summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2012-08-02 18:10:39 -0300
committerSilvio <silvio@socioambiental.org>2012-08-02 18:10:39 -0300
commitb6b1848b3dc117e00eb4d23b26971b7ddfd68c3b (patch)
tree5b1b67eb974907f15076819d218b359d4b2aca38
parent08f7f4c28c411dce90ebb608cadad3192b14915b (diff)
downloadtimelinejs-b6b1848b3dc117e00eb4d23b26971b7ddfd68c3b.tar.gz
timelinejs-b6b1848b3dc117e00eb4d23b26971b7ddfd68c3b.tar.bz2
Cleanup and TODO update
-rw-r--r--timelinejs.module12
1 files changed, 5 insertions, 7 deletions
diff --git a/timelinejs.module b/timelinejs.module
index 48899bb..f1de06d 100644
--- a/timelinejs.module
+++ b/timelinejs.module
@@ -15,12 +15,6 @@ function timelinejs_node_view($node, $view_mode, $langcode) {
}
/**
- * Implements hook_node_view_alter.
- */
-function timelinejs_node_view_alter(&$build) {
-}
-
-/**
* Implements hook_menu()
*/
function timelinejs_menu() {
@@ -69,7 +63,7 @@ function timelinejs_theme($existing, $type, $theme, $path) {
}
/**
- * Get a score nid from an issue nid.
+ * Get a score nid from a timeline nid.
*/
function timelinejs_load_events($nid) {
$query = db_select('field_data_field_timeline', 't');
@@ -121,6 +115,10 @@ function timelinejs_json($nid) {
/**
* Menu callback.
+ *
+ * @todo
+ * Check for a timeline.css in the current theme instead of using a hardcoded value.
+ * Dimensions should be configurable.
*/
function timelinejs($nid) {
global $language;