Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-99964

Update code in liferay.js to be more searchable (pass the "grep test")

    Details

      Description

      When setting the HTTP methods on Liferay.Service in liferay.js, each method name is a string in an array that gets iterated over, rather than direct assignment in the code. This is harder to search for if a developer is not sure where those methods are assigned in the first place.

      This task will help this code pass the "grep test", since a developer would rightfully expect to be able to search for "Service.get = " and find something in a js file.

      grep test: http://jamie-wong.com/2013/07/12/grep-test/

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            drew.brokke Drew Brokke
            Engineering Assignee:
            Drew Brokke
            Recent user:
            Annie Wu (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                Master