Ticket #2773 (closed defect: fixed)

Opened 15 months ago

Last modified 4 months ago

[patch][ccla] docparser parses .xd.js files

Reported by: guest Owned by: pottedmeat
Priority: normal Milestone: 1.1
Component: Documentation Version: 0.4
Severity: normal Keywords: docparser
Cc: dante

Description

Currently the API docparser parses all files ending with 'js'. If a cross-domain build has been run previously then there are .xd.js files everywhere which get parsed as well.

patch:

function getFileList() in docscripts/inc/Dojo.php (~line 53):

  -  if (substr($file, -2)=='js') {
  +  if ((substr($file, -3)=='.js') and (substr($file, -6)!='.xd.js')) {

Change History

Changed 15 months ago by guest

grrr, trac keeps stripping off the username. Add robert.coup@… to the CC please.

Changed 7 months ago by dante

  • cc dante added; pottedmeat removed

Changed 4 months ago by dylan

  • milestone set to 1.1

This is a really easy fix to apply. Let's get it done.

Changed 4 months ago by pottedmeat

(In [12653]) Refs #2773. Update format in prep for real checkin

Changed 4 months ago by pottedmeat

  • status changed from new to closed
  • resolution set to fixed

(In [12654]) Fixes #2773. Make sure that .xd.js files don't get picked up during the cron run

Note: See TracTickets for help on using tickets.