DekiScript:String does not contain .ToUpperFirst()

RESOLVED FIXED

Status

Mozilla Developer Network
Editing
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: markg, Unassigned)

Tracking

Details

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11

Steps to reproduce:

I'm fixing Dekiscript templates so they work in Kumascript. Template ReleaseChannelInfo used this code:

string.ToUpperFirst($3)

But that function is not in the DekiScript:String module.


Actual results:

I used {{ ReleaseChannelInfo("15", "8", "6/8/12", "aurora") }} in a test page and Kuma threw an error saying that ToUpperFirst() did not exist.


Expected results:

It should have capitalized the string "aurora".

Comment 1

6 years ago
Added ToUpperFirst to DekiScript:String module

Updated ReleaseChannelInfo to use ToUpperFirst where it previously did.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Assignee)

Updated

6 years ago
Version: Kuma → unspecified
(Assignee)

Updated

6 years ago
Component: Docs Platform → Editing
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.