primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,7 @@
@charset "UTF-8";
ul.phpdebugbar-widgets-languageErrors {
margin-top: 5px;
margin-left: 5px;
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
line-height: 1.3em;
}

View File

@ -0,0 +1,35 @@
(function ($) {
var csscls = PhpDebugBar.utils.makecsscls('phpdebugbar-widgets-')
var languageErrorsWidget = PhpDebugBar.Widgets.languageErrorsWidget = PhpDebugBar.Widget.extend({
tagName: 'ul',
className: csscls('languageErrors'),
render: function () {
this.bindAttr('data', function (data) {
this.$el.empty()
for (var file of data.files) {
var relPath = file[0].replace(data.jroot, '')
var li = $('<li />')
if (data.xdebugLink) {
var link = $('<a />')
.text(relPath + ':' + file[1])
.attr(
'href',
data.xdebugLink
.replace('%f', file[0])
.replace('%l', file[1])
)
li.append(link)
} else {
li.text(relPath + ':' + file[1])
}
this.$el.append(li)
}
})
}
})
})(PhpDebugBar.$)

View File

@ -0,0 +1 @@
@charset "UTF-8";ul.phpdebugbar-widgets-languageErrors{margin-top:5px;margin-left:5px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;line-height:1.3em}

View File

@ -0,0 +1 @@
(function(t){var s=PhpDebugBar.utils.makecsscls("phpdebugbar-widgets-"),u=PhpDebugBar.Widgets.languageErrorsWidget=PhpDebugBar.Widget.extend({tagName:"ul",className:s("languageErrors"),render:function(){this.bindAttr("data",function(r){this.$el.empty();for(var e of r.files){var g=e[0].replace(r.jroot,""),a=t("<li />");if(r.xdebugLink){var n=t("<a />").text(g+":"+e[1]).attr("href",r.xdebugLink.replace("%f",e[0]).replace("%l",e[1]));a.append(n)}else a.text(g+":"+e[1]);this.$el.append(a)}})}})})(PhpDebugBar.$);