Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2241

Don't include original JS files to remote addon zip file

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4.0
    • 3.3.2
    • Gulp, Remote addons
    • Hide
      1. Configure the development environment for Moodle Mobile.
      2. Using the command line, go to the root folder of the MM project and run this command:

        gulp remoteaddon -p www/addons/grades/
        

      3. Open the folder www/addons/grades and check there is a grades.zip file in it.
      4. Unzip the file. Check that it includes an addon.js and a styles.css file, and the templates folder includes all the html files. Check that the controllers, scss and services folders are empty.
      Show
      Configure the development environment for Moodle Mobile . Using the command line, go to the root folder of the MM project and run this command: gulp remoteaddon -p www/addons/grades/ Open the folder www/addons/grades and check there is a grades.zip file in it. Unzip the file. Check that it includes an addon.js and a styles.css file, and the templates folder includes all the html files. Check that the controllers , scss and services folders are empty.
    • MOODLE_33_STABLE
    • MOODLE_34_STABLE
    • Moodle Mobile 3.4.0

      Suggested in the forum:

      https://moodle.org/mod/forum/discuss.php?d=358391

      We package all the JS code in an addon.js file, so the original files aren't needed and can be excluded from the packaged file.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.