Project

General

Profile

Patch #42515 » 0004-Add-license-headers-to-added-JavaScript-files.patch

Katsuya HIDAKA, 2025-04-05 07:38

View differences:

app/javascript/application.js
1
/**
2
 * Redmine - project management software
3
 * Copyright (C) 2006-  Jean-Philippe Lang
4
 * This code is released under the GNU General Public License.
5
 */
6

  
1 7
import "controllers"
app/javascript/controllers/application.js
1
/**
2
 * Redmine - project management software
3
 * Copyright (C) 2006-  Jean-Philippe Lang
4
 * This code is released under the GNU General Public License.
5
 */
6

  
1 7
import { Application } from '@hotwired/stimulus'
2 8

  
3 9
const application = Application.start()
app/javascript/controllers/index.js
1
/**
2
 * Redmine - project management software
3
 * Copyright (C) 2006-  Jean-Philippe Lang
4
 * This code is released under the GNU General Public License.
5
 */
6

  
1 7
import { application } from "controllers/application"
2 8
import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
3 9
eagerLoadControllersFrom("controllers", application)
app/javascript/controllers/quote_reply_controller.js
1
/**
2
 * Redmine - project management software
3
 * Copyright (C) 2006-  Jean-Philippe Lang
4
 * This code is released under the GNU General Public License.
5
 */
6

  
1 7
import { Controller } from '@hotwired/stimulus'
2 8
import TurndownService from 'turndown'
3 9
import { post } from '@rails/request.js'
(3-3/4)