chore: bump scintilla and lexilla version
This commit is contained in:
31
3rdparty/lexilla545/lexilla/test/examples/cpp/94Template.cxx
vendored
Normal file
31
3rdparty/lexilla545/lexilla/test/examples/cpp/94Template.cxx
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
// Test JavaScript template expressions for issue 94
|
||||
|
||||
// Basic
|
||||
var basic = `${identifier}`;
|
||||
|
||||
// Nested
|
||||
var nested = ` ${ ` ${ 1 } ` } `;
|
||||
|
||||
// With escapes
|
||||
var xxx = {
|
||||
'1': `\`\u0020\${a${1 + 1}b}`,
|
||||
'2': `\${a${ `b${1 + 2}c`.charCodeAt(2) }d}`,
|
||||
'3': `\${a${ `b${ `c${ JSON.stringify({
|
||||
'4': {},
|
||||
}) }d` }e` }f}`,
|
||||
};
|
||||
|
||||
// Original request
|
||||
fetchOptions.body = `
|
||||
{
|
||||
"accountNumber" : "248796",
|
||||
"customerType" : "Shipper",
|
||||
"destinationCity" : "${order.destination.city}",
|
||||
"destinationState" : "${order.destination.stateProvince}",
|
||||
"destinationZip" : ${order.destination.postalCode},
|
||||
"paymentType" : "Prepaid",
|
||||
"shipmentInfo" :
|
||||
{
|
||||
"items" : [ { "shipmentClass" : "50", "shipmentWeight" : "${order.totalWeight.toString()}" } ]
|
||||
}
|
||||
}`;
|
Reference in New Issue
Block a user