Closed bkhurram closed 7 years ago
Hi,
of course, it's case-sensitive
as configuration
too. My rule: use everytime lower-case chars.
see this:
@{resource( "res-file", "key.UpperCase" )} WORK
@{RESOURCE( "res-file", "key.UpperCase" )} WHY THIS NOT WORK ( empty string ) and previous line work
@{!RESOURCE( "res-file", "key.UpperCase" )} give me an exception "Error: View "/it/home/index": !RESOURCE( "res-file", "key.UpperCase") - Line: 10 - self.RESOURCE is not a function"
res-file
key.UpperCase : KEY UpperCase FOUND
OMG, you're right. 100x sorry, my mistake.
I have fixed it, try $ npm install total.js@beta
.
Thank you 💯 🥇
now it's not work @{!resource( "res-file", "key.UpperCase" )}
case '!resource':
return '$STRING(self.' + command + ')';
i think you forget to add .substring(1)
this code work:
case '!resource':
return '$STRING(self.' + command.substring(1) + ')';
OMG! I'm fucker. Thank you again. Please reinstall beta again.
It works well.
Great! Thank you again!
Thank you very much for the quick fix
Hii, RESOURCE not found key when key is uppercase:
@{RESOURCE( "res-file", "key.UpperCase" )}
NOT WORK@{RESOURCE( "res-file", "key.uppercase" )}
WORKres-file
and when i use command !RESOURCE i have an error self.RESOURCE is not a function
this error i have fix in this way:
from:
to: