Closed
Bug 770957
Opened 12 years ago
Closed 12 years ago
DekiScript:String does not contain .ToUpperFirst()
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: markg, Unassigned)
Details
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".
Added ToUpperFirst to DekiScript:String module Updated ReleaseChannelInfo to use ToUpperFirst where it previously did.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Docs Platform → Editing
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•