Patch #42515 » 0004-Add-license-headers-to-added-JavaScript-files.patch
| app/javascript/application.js | ||
|---|---|---|
|
/**
|
||
|
* Redmine - project management software
|
||
|
* Copyright (C) 2006- Jean-Philippe Lang
|
||
|
* This code is released under the GNU General Public License.
|
||
|
*/
|
||
|
import "controllers"
|
||
| app/javascript/controllers/application.js | ||
|---|---|---|
|
/**
|
||
|
* Redmine - project management software
|
||
|
* Copyright (C) 2006- Jean-Philippe Lang
|
||
|
* This code is released under the GNU General Public License.
|
||
|
*/
|
||
|
import { Application } from '@hotwired/stimulus'
|
||
|
const application = Application.start()
|
||
| app/javascript/controllers/index.js | ||
|---|---|---|
|
/**
|
||
|
* Redmine - project management software
|
||
|
* Copyright (C) 2006- Jean-Philippe Lang
|
||
|
* This code is released under the GNU General Public License.
|
||
|
*/
|
||
|
import { application } from "controllers/application"
|
||
|
import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
|
||
|
eagerLoadControllersFrom("controllers", application)
|
||
| app/javascript/controllers/quote_reply_controller.js | ||
|---|---|---|
|
/**
|
||
|
* Redmine - project management software
|
||
|
* Copyright (C) 2006- Jean-Philippe Lang
|
||
|
* This code is released under the GNU General Public License.
|
||
|
*/
|
||
|
import { Controller } from '@hotwired/stimulus'
|
||
|
import TurndownService from 'turndown'
|
||
|
import { post } from '@rails/request.js'
|
||