Skip to content

Commit

Permalink
Don't import $ in every file that needs it
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Jan 6, 2022
1 parent 054afa9 commit eba22f2
Show file tree
Hide file tree
Showing 35 changed files with 11,250 additions and 144 deletions.
2 changes: 1 addition & 1 deletion autotest-js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for SCSSFILE in core/css/*.scss
do
FILE=$(basename $SCSSFILE)
FILENAME="${FILE%.*}"
printf "\$webroot:''; @import 'functions.scss'; @import 'variables.scss'; @import '${FILE}';" | ./build/bin/node-sass --include-path core/css/ > tests/css/${FILE}.css
# printf "\$webroot:''; @import 'functions.scss'; @import 'variables.scss'; @import '${FILE}';" | ./build/bin/node-sass --include-path core/css/ > tests/css/${FILE}.css
done

KARMA="$PREFIX/node_modules/karma/bin/karma"
Expand Down
280 changes: 173 additions & 107 deletions build/package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions core/src/Polyfill/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*
*/

import $ from 'jquery'

$.prototype.tooltip = (function(tooltip) {
return function(config) {
try {
Expand Down
4 changes: 2 additions & 2 deletions dist/comments-comments.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion dist/comments-comments.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@
*/

/**
* Copyright (c) 2016
* Copyright (c) 2016 Vincent Petry <pvince81@owncloud.com>
*
* @author Joas Schilling <coding@schilljs.com>
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Michael Jobst <mjobst+github@tecratech.de>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Vincent Petry <vincent@nextcloud.com>
*
* @license GNU AGPL version 3 or any later version
*
Expand Down
2 changes: 1 addition & 1 deletion dist/comments-comments.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit eba22f2

Please sign in to comment.