Skip to content

Commit

Permalink
Merge branch 'release-2.1.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
abidibo committed Apr 2, 2021
2 parents 935a0f0 + c351c04 commit 9915e2c
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 69 deletions.
12 changes: 6 additions & 6 deletions baton/static/baton/app/dist/baton.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion baton/static/baton/app/dist/baton.min.js.map

Large diffs are not rendered by default.

51 changes: 18 additions & 33 deletions baton/static/baton/app/package-lock.json

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

7 changes: 2 additions & 5 deletions baton/static/baton/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "baton",
"version": "2.1.4",
"version": "2.1.5",
"description": "Django Baton App",
"main": "index.js",
"scripts": {
Expand All @@ -15,13 +15,11 @@
"@babel/preset-env": "^7.9.6",
"@babel/register": "^7.9.0",
"@fortawesome/fontawesome-free": "^5.8.1",
"@popperjs/core": "^2.6.0",
"autoprefixer": "^9.2.1",
"babel-cli": "^6.26.0",
"babel-loader": "^8.1.0",
"babel-register": "^6.18.0",
"bootstrap": "^5.0.0-beta2",
"bootstrap-icons": "^1.2.1",
"bootstrap": "^5.0.0-beta3",
"css-loader": "^3.5.3",
"file-loader": "^6.0.0",
"ini": "^2.0.0",
Expand All @@ -31,7 +29,6 @@
"lodash": "^4.17.19",
"mini-svg-data-uri": "^1.2.3",
"node-sass": "^4.5.0",
"popper.js": "^1.16.1",
"postcss-loader": "^3.0.0",
"sass": "^1.26.5",
"sass-loader": "^8.0.2",
Expand Down
2 changes: 1 addition & 1 deletion baton/static/baton/app/src/core/Messages.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import $ from 'jquery'
import bootstrap from 'bootstrap/dist/js/bootstrap'
import bootstrap from 'bootstrap/dist/js/bootstrap.bundle'

let Messages = {
/**
Expand Down
7 changes: 5 additions & 2 deletions baton/static/baton/app/src/core/Tabs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import $ from 'jquery'
import bootstrap from 'bootstrap/dist/js/bootstrap'
import bootstrap from 'bootstrap/dist/js/bootstrap.bundle'

let Tabs = {
/**
Expand Down Expand Up @@ -86,7 +86,10 @@ let Tabs = {
this.main.before(this.nav)

$('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (e) {
$('[title]:not(iframe)').tooltip()
let tooltipTriggerList = [].slice.call($('[title]:not(iframe)'))
tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
})
},
createInlineEl: function (el, setDataTab = false) {
Expand Down
7 changes: 5 additions & 2 deletions baton/static/baton/app/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// jQuery is provided by webpack provider plugin
import 'bootstrap/dist/js/bootstrap'
import bootstrap from 'bootstrap/dist/js/bootstrap.bundle'
import './styles/baton.scss'

import Template from './core/Template'
Expand Down Expand Up @@ -70,7 +70,10 @@ window.Baton = {
Dispatcher.emit('onReady')
},
loadTooltips: function () {
$('[title]:not(iframe)').tooltip()
let tooltipTriggerList = [].slice.call($('[title]:not(iframe)'))
tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
},
page: function () {
if (/^(\/[a-z]{2})?\/admin\/$/.test(location.pathname)) {
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = u'2.1.4'
version = u'2.1.5'
# The full version, including alpha/beta/rc tags.
release = u'2.1.4'
release = u'2.1.5'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
16 changes: 0 additions & 16 deletions package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='django-baton',
version='2.1.4',
version='2.1.5',
packages=['baton', 'baton.autodiscover', 'baton.templatetags'],
include_package_data=True,
license='MIT License',
Expand Down
Binary file modified testapp/app/db.sqlite3
Binary file not shown.
3 changes: 3 additions & 0 deletions testapp/app/package-lock.json

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

0 comments on commit 9915e2c

Please sign in to comment.