Commit c28f9dc004ea3978c0e84c7680df3cd12a5560df

Authored by Adhidarma Hadiwinoto
1 parent f2554d11a4
Exists in master

_width on paddingDestination to make it v8 optimization friendly

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

partner-bayarkilat.js
... ... @@ -335,7 +335,8 @@ function prepareRemoteProductCode(remoteProduct) {
335 335 }
336 336 }
337 337  
338   -function paddingDestination(destination, width) {
  338 +function paddingDestination(destination, _width) {
  339 + var width = _width;
339 340 if (!width) {
340 341 width = 13;
341 342 }