Summary
Renaming spock's <script>?
Metadata
- Id: f36719e1a57612910b24e14dd7930ccf6e7934d2
- Trac id: 546
- Type: enhancement
- Reporter: mario
- Owner: felix
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone:
- Version: 4.6.x
- Changetime: 2011-03-28 10:08:39 UTC
- Created: 2011-03-26 20:58:44 UTC
- Keywords: spock, <script>
Description
spock exports a <script> macro. Coincidently, html-tags] exports a procedure with the same name, since its procedures are named after html tags'.
Since both spock and html-tags are intended to be used by web applications, there's some chance they could be used together (e.g., integrating awful and spock for a hop-like framework). In this case, we'd have a name clash, unless we explicitly rename things on importing.
I could rename html-tags <script> procedure, but that would generate a special case which would be awkward and irrelevant when spock is not used.
So I was thinking that maybe spock's <script> could be renamed. Maybe <spock>, <javascript> or <spockscript>?
Changes and comments
[2011-03-28 09:42:46 UTC] felix removed milestone 4.7.0
[2011-03-28 10:08:39 UTC] felix changed status from new to closed
[2011-03-28 10:08:39 UTC] felix set resolution to fixed
[2011-03-28 10:08:39 UTC] felix wrote:
I'll rename it to `<spock>`. Thanks for the tip.