Skip to content

Commit

Permalink
Bugfixing
Browse files Browse the repository at this point in the history
  • Loading branch information
UIMSolutions committed Feb 17, 2024
1 parent c579187 commit 496f15c
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion controllers/uim/controllers/classes/components/package.d
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
module controllers.uim.controllers.classes.components;
module uim.controllers.classes.components;

2 changes: 1 addition & 1 deletion controllers/uim/controllers/classes/controllers/package.d
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
module controllers.uim.controllers.classes.controllers;
module uim.controllers.classes.controllers;

2 changes: 1 addition & 1 deletion controllers/uim/controllers/interfaces/components.d
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
module controllers.uim.controllers.interfaces.components;
module uim.controllers.interfaces.components;

2 changes: 1 addition & 1 deletion controllers/uim/controllers/interfaces/controllers.d
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
module controllers.uim.controllers.interfaces.controllers;
module uim.controllers.interfaces.controllers;

14 changes: 7 additions & 7 deletions views/uim/views/classes/stringtemplate.d
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class StringTemplate {
protected IConfiguration _defaultConfiguration;

// A stack of template sets that have been stashed temporarily.
protected array my_configStack = [];
// TODO protected array my_configStack = [];

// Contains the list of compiled templates
protected string[] compiledtemplates;
Expand Down Expand Up @@ -150,28 +150,28 @@ class StringTemplate {
* Params:
* string myfile The file to load
*/
void load(string fileName) {
/* void load(string fileName) {
if (myfile.isEmpty) {
throw new UimException("String template filename cannot be an empty string");
}
auto myloader = new PhpConfig();
auto mytemplates = myloader.read(fileName);
this.add(mytemplates);
}
} */

// Remove the named template.
void remove(string templateName) {
/* void remove(string templateName) {
this.setConfig(templateName, null);
_compiled.remove(templateName);
}
} */

/**
* Format a template string with mydata
* Params:
* string views The template name.
*/
string format(string views, IData[string] insertData) {
/* string format(string views, IData[string] insertData) {
if (!_compiled.isSet(views)) {
throw new InvalidArgumentException("Cannot find template named `%s`.".format(views));
}
Expand All @@ -191,7 +191,7 @@ class StringTemplate {
myreplace ~= myreplacement;
});
return vsprintf(mytemplate, myreplace);
}
} */

/**
* Returns a space-delimited string with items of the options array. If a key
Expand Down
2 changes: 2 additions & 0 deletions views/uim/views/interfaces/view.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module uim.views.interfaces.view;

2 changes: 1 addition & 1 deletion views/uim/views/interfaces/widget.d
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
module views.uim.views.interfaces.widget;
module uim.views.interfaces.widget;

2 changes: 1 addition & 1 deletion views/uim/views/mixins/view.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module views.uim.views.mixins.view;
module uim.views.mixins.view;

import uim.views;

Expand Down
2 changes: 1 addition & 1 deletion views/uim/views/mixins/widget.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module views.uim.views.mixins.widget;
module uim.views.mixins.widget;

import uim.views;

Expand Down

0 comments on commit 496f15c

Please sign in to comment.