summaryrefslogtreecommitdiff
path: root/webhelper
Commit message (Collapse)AuthorAge
* Add publicly available font size propertyPatrick Ward2014-01-29
| | | | | | Added a publicly available calculated font size property. This allows Endless applications to perform actions based on the calculated font size of an EosWindow. In particular, the WebHelper application now uses the property to update the 'default-font-size' property of a WebSettings object. [endlessm/eos-sdk#484]
* WebHelper documentation improvementsPhilip Chimento2013-09-23
| | | | | | A few formatting improvements [endlessm/eos-sdk#310]
* Don't forget to import String.format()Philip Chimento2013-09-23
| | | | | | Previously, it wasn't imported [endlessm/eos-sdk#310]
* URIdecode web action namePhilip Chimento2013-09-23
| | | | | | | In case the name of the web action is URIencoded, make sure to URIdecode it before looking it up in the dictionary of defined web actions. [endlessm/eos-sdk#310]
* Update WebHelper API to be introspectablePhilip Chimento2013-09-23
| | | | | | | | | - Replace _webActions with define_web_action() method and another define_web_actions() method for the Endless.js overrides file - Replace _translationFunction with set_translation_function() and get_translation_function() [endlessm/eos-sdk#310]
* Documentation for WebHelperPhilip Chimento2013-09-19
| | | | | | | | This adds the infrastructure for autogenerating HTML documentation from a Javascript module using NaturalDocs, and then adds documentation comments to webhelper.js. [endlessm/eos-sdk#302]
* Do translation with webhelperPhilip Chimento2013-09-16
| | | | | | | | Previously, the translation was such that it did a dummy translation, italicizing the text to be translated. Now it looks for a translationFunction property on the app object, and calls that on the text. [endlessm/eos-sdk#290]
* Better error checking on web actionsPhilip Chimento2013-09-16
| | | | | | | - Move normal URI test to the top - Throw an exception if a nonexistent web action is called. [endlessm/eos-sdk#290]
* Adjust API so that "public" functions don't start with _Philip Chimento2013-09-16
| | | | | | | | Also, since the functions will likely be translated into C in the future, give_them_underscored_names insteadOfCamelCase, in order to avoid API changes. [endlessm/eos-sdk#290]
* Install WebHelper into GJS modules directoryPhilip Chimento2013-09-12
WebHelper is now importable using const WebHelper = imports.webhelper; [endlessm/eos-sdk#289]