Quiq/JQuery.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Quiq/Html/Producer.pm ↑ Summary Quiq/Svg/Tag.pm »
1 # -----------------------------------------------------------------------------
2  
3 =encoding utf8
4  
5 =head1 NAME
6  
7 Quiq::JQuery - Basisfunktionalität zu jQuery
8  
9 =head1 BASE CLASS
10  
11 L<Quiq::Object>
12  
13 =cut
14  
15 # -----------------------------------------------------------------------------
16  
17 package Quiq::JQuery;
18 2 ▶use base qw/Quiq::Object/;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 2 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 2 our $VERSION = '1.240';
25  
26 # -----------------------------------------------------------------------------
27  
28 =head1 METHODS
29  
30 =head2 Klassenmethoden
31  
32 =head3 cdnUrl() - Liefere CDN URL
33  
34 =head4 Synopsis
35  
36 $url = $this->cdnUrl;
37  
38 =head4 Returns
39  
40 URL (String)
41  
42 =head4 Description
43  
44 Liefere den CDN URL der neusten Version von jQuery.
45  
46 =head4 Example
47  
48 $url = Quiq::JQuery->cdnUrl;
49 ==>
50 https://code.jquery.com/jquery-latest.min.js
51  
52 =cut
53  
54 # -----------------------------------------------------------------------------
55  
56 1 ▶sub cdnUrl {
Subroutine cdnUrl: called CC=1 SCAR=0.0
Pod documented
57 1 my $this = shift;
58 1 return 'https://code.jquery.com/jquery-latest.min.js';
59 }
60  
61 # -----------------------------------------------------------------------------
62  
63 =head1 VERSION
64  
65 1.240
66  
67 =head1 AUTHOR
68  
69 Frank Seitz, L<http://fseitz.de/>
70  
71 =head1 COPYRIGHT
72  
73 Copyright (C) 2026 Frank Seitz
74  
75 =head1 LICENSE
76  
77 This code is free software; you can redistribute it and/or modify
78 it under the same terms as Perl itself.
79  
80 =cut
81  
82 # -----------------------------------------------------------------------------
83  
84 2 1;
85  
86 # eof
« Quiq/Html/Producer.pm ↑ Summary Quiq/Svg/Tag.pm »