Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1692

need to fix rpc.js to support JSMin

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0-beta1
    • 2.5.0-beta1
    • Javascript
    • None

    Description

      This line in rpc.js cause JSMin to generate invalid js
      var clog = console && console.log && function(msg)

      { console.log(msg); } || function(){};
      the problem can be fixed by using following line
      var clog = console && console.log ? function(msg) { console.log(msg); }

      : function(){};

      Attachments

        1. rpc_patch
          0.7 kB
          Li Xu

        Activity

          People

            Unassigned Unassigned
            lixu Li Xu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: