amalgame/commit

renamed selecter to startpage because it is too easy to confuse with the mapping slectors

authorJacco van Ossenbruggen
Tue Jul 22 18:40:41 2014 +0200
committerJacco van Ossenbruggen
Tue Jul 22 18:40:41 2014 +0200
commit404c4786b9f312bb15586a8ead11e7aeb87c4ff6
tree75e41d11873333420887982aa22d701517e5082e
parent93c5a510aa79525c73b41a432d65963da2cfc806
Diff style: patch stat
diff --git a/applications/selecter.pl b/applications/startpage.pl
similarity index 98%
rename from applications/selecter.pl
rename to applications/startpage.pl
index 87c973a..8f2767d 100644
--- a/applications/selecter.pl
+++ b/applications/startpage.pl
@@ -1,4 +1,4 @@
-:- module(ag_main_page,
+:- module(ag_start_page,
 	  [html_schemes_only//0  % for backward compat with europeana demo
 	  ]).
 
@@ -167,7 +167,7 @@ html_main_page(_Request) :-
 	reply_html_page(cliopatria(main),
 			[ title(['Amalgame - strategies'])
 			],
-			[ \html_requires(css('selecter.css')),
+			[ \html_requires(css('startpage.css')),
 			  \yui3_combo(yui3,
 				      ['cssreset/cssreset-min.css',
 				       'cssgrids/cssgrids-min.css',
@@ -510,11 +510,11 @@ yui_script -->
 %
 %	YUI3 and application specific modules used in javascript.
 
-js_module(selecter, json([fullpath(Path),
+js_module(startpage, json([fullpath(Path),
 				    requires([node,base,event,anim,
 					      'gallery-node-accordion'])
 			  ])) :-
-	http_absolute_location(js('selecter.js'), Path, []).
+	http_absolute_location(js('startpage.js'), Path, []).
 
 
 %%	new_strategy(-StrategyURI, Options)
diff --git a/config-available/025-amalgame.pl b/config-available/025-amalgame.pl
index af6a22c..fab1c0f 100644
--- a/config-available/025-amalgame.pl
+++ b/config-available/025-amalgame.pl
@@ -33,7 +33,7 @@ http:location(img,		 root(img),                  [ priority(-100) ]).
 :- rdf_load_library(dc).
 
 /* Now all namespaces should have been defined, we can load the amalgame code: */
-:- use_module(applications(selecter)).
+:- use_module(applications(startpage)).
 :- use_module(applications(builder)).
 :- use_module(applications(analyser)).
 :- use_module(applications(evaluater)).
diff --git a/web/css/selecter.css b/web/css/startpage.css
similarity index 100%
rename from web/css/selecter.css
rename to web/css/startpage.css
diff --git a/web/js/selecter.js b/web/js/startpage.js
similarity index 88%
rename from web/js/selecter.js
rename to web/js/startpage.js
index 61ec580..4b7f90a 100644
--- a/web/js/selecter.js
+++ b/web/js/startpage.js
@@ -1,4 +1,4 @@
-YUI.add('selecter', function(Y) {
+YUI.add('startpage', function(Y) {
 	
 	var Lang = Y.Lang,
 		Node = Y.Node,
@@ -6,11 +6,11 @@ YUI.add('selecter', function(Y) {
 	
 	var	NODE_CONTENT 		= Y.one("#content");
 	
-	function Selecter(config) {
-		Selecter.superclass.constructor.apply(this, arguments);
+	function AmalgameStartPage(config) {
+		AmalgameStartPage.superclass.constructor.apply(this, arguments);
 	}
-	Selecter.NAME = "selecter";
-	Selecter.ATTRS = {
+	AmalgameStartPage.NAME = "startpage";
+	AmalgameStartPage.ATTRS = {
 	    strings: {
 	        value: {},
 			validator: function(val) {
@@ -19,7 +19,7 @@ YUI.add('selecter', function(Y) {
 	    }
 	};
 	
-	Y.extend(Selecter, Y.Base, {
+	Y.extend(AmalgameStartPage, Y.Base, {
 		
 		initializer: function(args) {
 			var paths = this.get("paths");
@@ -83,7 +83,7 @@ YUI.add('selecter', function(Y) {
 				
 	});
 	
-	Y.Selecter = Selecter;
+	Y.AmalgameStartPage = AmalgameStartPage;
 	
 }, '0.0.1', { requires: [
 	'node','base','event','anim',