Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1503

After Alloy compile, property which has array disappear.

    Details

    • Sprint:
      2016 Sprint 12 Tooling

      Description

      When alloy compile below tss,

      "#webView[platform=android]":{
      	blacklistedURLs : ['intent://','ispmobile://','market://'],
      }
       
      "#webView[platform=ios]":{
      	blacklistedURLs : ['intent://'],
      }
      

      Result

      After alloy compiling, /Resources/android/app/controller/index.js (Android result)

        $.__views.webView = Ti.UI.createWebView({
              id: "webView"
          });
      

      Expected Result

      it should be

        $.__views.webView = Ti.UI.createWebView({
              id: "webView",
              blacklistedURLs : ['intent://','ispmobile://','market://'],
          });
      

      But! In this case, it works

      But, after change style order like below: it works properly.
      Before : android rule is first
      After : iOS rule is first

      "#webView[platform=ios]":{
      	blacklistedURLs : ['intent://'],
      }
       
      "#webView[platform=android]":{
      	blacklistedURLs : ['intent://','ispmobile://','market://'],
      }
      
      

      Additional Notice

      This bug appear only when property has array value.

        Attachments

          Activity

            People

            • Assignee:
              fmiao Feon Sua Xin Miao
              Reporter:
              yomybaby Jong Eun Lee
              Reviewer:
              Chee Kiat Ng (Inactive)
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code