1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Livestampjs by Mattbradley</ title >
7+ < meta name ="description " content ="A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js. ">
8+ < meta name ="author " content ="mattbradley ">
9+ < meta name ="robots " content ="index, follow ">
10+ <!-- Canonical URL -->
11+ < link rel ="canonical " href ="https://codehimblog.github.io/jquery-plugins/livestampjs-by-mattbradley.html ">
12+ <!-- Favicon -->
13+ < link rel ="icon " href ="/favicon.ico " type ="image/png ">
14+ <!-- Bootstrap CSS -->
15+ < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css " rel ="stylesheet ">
16+ <!-- Bootstrap Icons -->
17+ < link href ="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css " rel ="stylesheet ">
18+ < link rel ="stylesheet " href ="/css/styles.css ">
19+ </ head >
20+ < body >
21+ <!-- Navbar -->
22+ < nav class ="navbar navbar-expand-lg navbar-dark bg-dark fixed-top ">
23+ < div class ="container ">
24+ < a class ="navbar-brand " href ="https://codehimblog.github.io ">
25+ < i class ="bi bi-box-seam me-2 "> </ i > CodehimBlog
26+ </ a >
27+ < button class ="navbar-toggler " type ="button " data-bs-toggle ="collapse " data-bs-target ="#navbarNav " aria-controls ="navbarNav " aria-expanded ="false " aria-label ="Toggle navigation ">
28+ < span class ="navbar-toggler-icon "> </ span >
29+ </ button >
30+ < div class ="collapse navbar-collapse " id ="navbarNav ">
31+ < ul class ="navbar-nav ms-auto ">
32+ < li class ="nav-item ">
33+ < a class ="nav-link " href ="https://codehimblog.github.io/ "> < i class ="bi bi-house-door me-1 "> </ i > Home</ a >
34+ </ li >
35+ < li class ="nav-item ">
36+ < a class ="nav-link " href ="https://codehimblog.github.io/projects/ "> < i class ="bi bi-box me-1 "> </ i > Projects</ a >
37+ </ li >
38+ < li class ="nav-item ">
39+ < a class ="nav-link " href ="https://codehimblog.github.io/about.html "> < i class ="bi bi-book me-1 "> </ i > About</ a >
40+ </ li >
41+ < li class ="nav-item ">
42+ < a class ="nav-link " href ="https://codehimblog.github.io/contact.html "> < i class ="bi bi-envelope me-1 "> </ i > Contact</ a >
43+ </ li >
44+ </ ul >
45+ </ div >
46+ </ div >
47+ </ nav >
48+
49+ <!-- Breadcrumbs -->
50+ < div class ="container mt-4 breadcrumbs ">
51+ < nav aria-label ="breadcrumb ">
52+ < ol class ="breadcrumb mb-0 ">
53+ < li class ="breadcrumb-item "> < a href ="https://codehimblog.github.io/ "> Home</ a > </ li >
54+ < li class ="breadcrumb-item "> < a href ="https://codehimblog.github.io/jquery-plugins/ "> jQuery Plugins</ a > </ li >
55+ < li class ="breadcrumb-item active " aria-current ="page "> Livestampjs</ li >
56+ </ ol >
57+ </ nav >
58+ </ div >
59+
60+ <!-- Schema Markup for Breadcrumbs -->
61+ < script type ="application/ld+json ">
62+ {
63+ "@context" : "https://schema.org" ,
64+ "@type" : "BreadcrumbList" ,
65+ "itemListElement" : [
66+ {
67+ "@type" : "ListItem" ,
68+ "position" : 1 ,
69+ "name" : "Home" ,
70+ "item" : "https://codehimblog.github.io/"
71+ } ,
72+ {
73+ "@type" : "ListItem" ,
74+ "position" : 2 ,
75+ "name" : "jQuery Plugins" ,
76+ "item" : "https://codehimblog.github.io/jquery-plugins/"
77+ } ,
78+ {
79+ "@type" : "ListItem" ,
80+ "position" : 3 ,
81+ "name" : "Livestampjs" ,
82+ "item" : "https://codehimblog.github.io/projects/{{packageSlug}}"
83+ }
84+ ]
85+ }
86+ </ script >
87+ <!-- Main Content -->
88+ < div class ="container mt-3 ">
89+ < div class ="row ">
90+ <!-- Main Details -->
91+ < main class ="col-md-8 site-main p-0 ">
92+ < article >
93+ <!-- Project Name & Description -->
94+ < h1 id ="packageName "> Livestampjs</ h1 >
95+ < p id ="packageDescription " class ="text-muted "> A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js.</ p >
96+
97+
98+
99+ <!-- Statistics -->
100+ < div class ="stat-row d-flex justify-content-around align-items-center text-center mb-2 ">
101+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
102+ < i class ="bi bi-star-fill text-warning mb-2 "> </ i >
103+ < div >
104+ < span id ="stargazersCount " class ="stat-value "> 409</ span >
105+ < p class ="stat-label mb-0 "> Stars</ p >
106+ </ div >
107+ </ div >
108+
109+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
110+ < i class ="bi bi-box-arrow-in-down mb-2 "> </ i >
111+ < div >
112+ < span id ="repoSize " class ="stat-value "> 0.4 MB</ span >
113+ < p class ="stat-label mb-0 "> Size</ p >
114+ </ div >
115+ </ div >
116+
117+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
118+ < i class ="bi bi-arrow-repeat text-secondary mb-2 "> </ i >
119+ < div >
120+ < span id ="forksCount " class ="stat-value "> 70</ span >
121+ < p class ="stat-label mb-0 "> Forks</ p >
122+ </ div >
123+ </ div >
124+
125+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
126+ < i class ="bi bi-exclamation-circle text-danger mb-2 "> </ i >
127+ < div >
128+ < span id ="openIssuesCount " class ="stat-value "> 22</ span >
129+ < p class ="stat-label mb-0 "> Open Issues</ p >
130+ </ div >
131+ </ div >
132+ </ div >
133+
134+
135+ < div class ="ad-unit ad-apt ">
136+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
137+ crossorigin ="anonymous "> </ script >
138+ <!-- CodehimBlog APT -->
139+ < ins class ="adsbygoogle "
140+ style ="display:block "
141+ data-ad-client ="ca-pub-7089100907045419 "
142+ data-ad-slot ="4990741913 "
143+ data-ad-format ="auto "
144+ data-full-width-responsive ="true "> </ ins >
145+ < script >
146+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
147+ </ script >
148+ </ div >
149+
150+ < div class ="row mb-4 ">
151+ <!-- Tabs (Left) -->
152+ < div class ="col-12 col-md-6 d-flex justify-content-start mb-3 mb-md-0 ">
153+ < ul class ="nav nav-tabs " id ="infoTabs " role ="tablist ">
154+ < li class ="nav-item " role ="presentation ">
155+ < button class ="nav-link active " id ="installation-tab " data-bs-toggle ="tab " data-bs-target ="#installation " type ="button " role ="tab " aria-controls ="installation " aria-selected ="true ">
156+ < i class ="bi bi-file-earmark-text "> </ i > Readme
157+ </ button >
158+ </ li >
159+ < li class ="nav-item " role ="presentation ">
160+ < button class ="nav-link " id ="changelog-tab " data-bs-toggle ="tab " data-bs-target ="#changelog " type ="button " role ="tab " aria-controls ="changelog " aria-selected ="false ">
161+ < i class ="bi bi-journal-text me-2 "> </ i > Changelog
162+ </ button >
163+ </ li >
164+ </ ul >
165+ </ div >
166+
167+ <!-- Action Buttons (Right) -->
168+ < div class ="col-12 col-md-6 d-flex align-items-center justify-content-end ">
169+ < a href ="https://github.com/mattbradley/livestampjs/archive/refs/heads/master.zip " class ="btn btn-primary me-2 action-btn " id ="downloadBtn ">
170+ < i class ="bi bi-cloud-download me-2 "> </ i > Download ZIP
171+ </ a >
172+ < a href ="https://github.com/mattbradley/livestampjs " target ="_blank " class ="btn btn-outline-secondary action-btn " id ="githubBtn ">
173+ < i class ="bi bi-github me-2 "> </ i > Fork on GitHub
174+ </ a >
175+ </ div >
176+ </ div >
177+ < div class ="tab-content mt-3 " id ="infoTabsContent ">
178+ < div class ="tab-pane fade show active " id ="installation " role ="tabpanel " aria-labelledby ="installation-tab ">
179+ < h1 > < a href ="http://mattbradley.github.com/livestampjs "> Livestamp.js</ a > </ h1 >
180+ < p > A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to< br />
181+ your timestamped HTML elements using < a href ="http://momentjs.com "> Moment.js</ a > .</ p >
182+ < h2 > Usage</ h2 >
183+ < p > See the < a href ="http://mattbradley.github.com/livestampjs "> livestamp documentation</ a > .</ p >
184+ < h2 > Dependencies</ h2 >
185+ < ul >
186+ < li > < a href ="http://jquery.com "> jQuery</ a > : you already know what this is</ li >
187+ < li > < a href ="http://momentjs.com "> Moment.js</ a > : a great JavaScript library for parsing< br />
188+ and displaying dates and times</ li >
189+ </ ul >
190+ < h2 > License</ h2 >
191+ < p > Copyright (c) 2015 Matt Bradley</ p >
192+ < p > This software is freely distributable under the terms of the< br />
193+ < a href ="http://www.opensource.org/licenses/MIT "> MIT License</ a > .</ p >
194+ </ div >
195+
196+ < div class ="tab-pane fade " id ="changelog " role ="tabpanel " aria-labelledby ="changelog-tab ">
197+ < ul id ="changelogList ">
198+ No changelog available.
199+ </ ul >
200+ </ div >
201+
202+ </ div >
203+
204+ < div class ="tags mb-2 mt-2 ">
205+ < a href ="https://codehimblog.github.io/tag/livestamp " class ="text-decoration-none ">
206+ < div class ="d-inline-flex align-items-center bg-light border rounded-pill px-3 py-1 me-2 mb-2 ">
207+ < i class ="bi bi-tag-fill me-2 "> </ i >
208+ < span > livestamp</ span >
209+ </ div >
210+ </ a > < a href ="https://codehimblog.github.io/tag/timestamp " class ="text-decoration-none ">
211+ < div class ="d-inline-flex align-items-center bg-light border rounded-pill px-3 py-1 me-2 mb-2 ">
212+ < i class ="bi bi-tag-fill me-2 "> </ i >
213+ < span > timestamp</ span >
214+ </ div >
215+ </ a > < a href ="https://codehimblog.github.io/tag/timeago " class ="text-decoration-none ">
216+ < div class ="d-inline-flex align-items-center bg-light border rounded-pill px-3 py-1 me-2 mb-2 ">
217+ < i class ="bi bi-tag-fill me-2 "> </ i >
218+ < span > timeago</ span >
219+ </ div >
220+ </ a >
221+ </ div >
222+
223+ </ article >
224+
225+
226+ </ main >
227+ <!-- Sidebar -->
228+ < aside class ="col-md-4 p-0 ">
229+ < div class ="sidebar ">
230+ <!-- Owner Section -->
231+ < div class ="sidebar-item mb-4 ">
232+ < div class ="ad-unit ">
233+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
234+ crossorigin ="anonymous "> </ script >
235+ <!-- CodehimBlog Sidebar -->
236+ < ins class ="adsbygoogle "
237+ style ="display:block "
238+ data-ad-client ="ca-pub-7089100907045419 "
239+ data-ad-slot ="8929986923 "
240+ data-ad-format ="auto "
241+ data-full-width-responsive ="true "> </ ins >
242+ < script >
243+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
244+ </ script >
245+ </ div >
246+ < div class ="d-flex align-items-center ">
247+ < img src ="https://avatars.githubusercontent.com/u/819253?v=4 " alt ="Owner Avatar " class ="rounded-circle me-2 owner-avatar ">
248+ < a href ="https://github.com/mattbradley " target ="_blank " id ="ownerName " class ="sidebar-link "> mattbradley</ a >
249+ </ div >
250+ </ div >
251+
252+ <!-- Metadata Section -->
253+ < div class ="sidebar-item mb-2 ">
254+ < div class ="metadata-item d-flex align-items-center ">
255+ < i class ="bi bi-calendar me-2 "> </ i >
256+ < strong > Created At:</ strong >
257+ < span id ="createdAt " class ="ms-1 "> June 4, 2012</ span >
258+ </ div >
259+ < div class ="metadata-item d-flex align-items-center mt-2 ">
260+ < i class ="bi bi-pencil-square me-2 "> </ i >
261+ < strong > Last Updated:</ strong >
262+ < span id ="updatedAt " class ="ms-1 "> November 8, 2024</ span >
263+ </ div >
264+ < div class ="metadata-item d-flex align-items-center mt-2 ">
265+ < i class ="bi bi-file-earmark-code me-2 "> </ i >
266+ < strong > Language:</ strong >
267+ < span id ="language " class ="ms-1 "> JavaScript</ span >
268+ </ div >
269+
270+ < div class ="metadata-item d-flex align-items-center mt-2 ">
271+ < i class ="bi bi-shield-check "> </ i >
272+ < strong > License:</ strong >
273+ < span id ="license " class ="ms-1 "> MIT License</ span >
274+ </ div >
275+ < a href ="http://mattbradley.github.com/livestampjs " target ="_blank " class ="btn btn-outline-dark btn-sm " id ="homepageBtn ">
276+ < i class ="bi bi-house-door me-2 "> </ i > Visit Homepage
277+ </ a >
278+
279+ </ div >
280+
281+ < div class ="sidebar-item mb-2 ">
282+ < h5 class ="sidebar-title "> Development Dependencies</ h5 > < ul class ="dependencies-list "> < li > grunt (~0.4.2)</ li > < li > grunt-gh-pages (~0.9.0)</ li > < li > grunt-contrib-uglify (~0.2.7)</ li > < li > grunt-contrib-copy (~0.5.0)</ li > < li > grunt-bump (0.0.13)</ li > </ ul >
283+ </ div >
284+
285+ < div class ="sidebar-item ">
286+ < h5 class ="sidebar-title "> Contributors</ h5 >
287+ < ul class ="p-0 " id ="contributorsList ">
288+ < ul class ="list-group list-group-flush " id ="contributorsList "> < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/819253?v=4 " alt ="mattbradley " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/mattbradley " target ="_blank " class ="text-decoration-none fw-bold "> mattbradley</ a > < p class ="mb-0 text-muted small "> 21 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/4559776?v=4 " alt ="BrunoWinck " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/BrunoWinck " target ="_blank " class ="text-decoration-none fw-bold "> BrunoWinck</ a > < p class ="mb-0 text-muted small "> 4 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/1302888?v=4 " alt ="fabslab " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/fabslab " target ="_blank " class ="text-decoration-none fw-bold "> fabslab</ a > < p class ="mb-0 text-muted small "> 3 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/33569?v=4 " alt ="dandv " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/dandv " target ="_blank " class ="text-decoration-none fw-bold "> dandv</ a > < p class ="mb-0 text-muted small "> 2 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/537684?v=4 " alt ="robertmain " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/robertmain " target ="_blank " class ="text-decoration-none fw-bold "> robertmain</ a > < p class ="mb-0 text-muted small "> 2 contributions</ p > </ div > </ li > < li class ="list-group-item d-flex align-items-center contributor-item d-none "> < img src ="https://avatars.githubusercontent.com/u/651187?v=4 " alt ="sidfarkus " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/sidfarkus " target ="_blank " class ="text-decoration-none fw-bold "> sidfarkus</ a > < p class ="mb-0 text-muted small "> 1 contributions</ p > </ div > </ li > < li class ="list-group-item text-center "> < a href ="# " id ="toggleContributors " class ="d-block "> +1 more Contributors</ a > </ li > </ ul >
289+ </ ul >
290+
291+ </ div >
292+
293+ < div class ="ad-unit ">
294+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
295+ crossorigin ="anonymous "> </ script >
296+ <!-- CodehimBlog Skyscrapper -->
297+ < ins class ="adsbygoogle "
298+ style ="display:block "
299+ data-ad-client ="ca-pub-7089100907045419 "
300+ data-ad-slot ="7469565592 "
301+ data-ad-format ="auto "
302+ data-full-width-responsive ="true "> </ ins >
303+ < script >
304+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
305+ </ script >
306+ </ div >
307+
308+ </ div >
309+ </ aside >
310+ </ div >
311+ </ div >
312+ <!-- Footer -->
313+ < footer class ="bg-dark text-white text-center py-3 page-footer ">
314+ < div class ="container ">
315+ < p class ="mb-2 "> © 2024 CodehimBlog - Powered by GitHub</ p >
316+ < nav >
317+ < ul class ="list-inline mb-0 ">
318+ < li class ="list-inline-item ">
319+ < a href ="/privacy-policy.html " class ="footer-link "> Privacy Policy</ a >
320+ </ li >
321+ < li class ="list-inline-item ">
322+ < span class ="text-white "> |</ span >
323+ </ li >
324+ < li class ="list-inline-item ">
325+ < a href ="/terms-and-conditions.html " class ="footer-link "> Terms and Conditions</ a >
326+ </ li >
327+ </ ul >
328+ </ nav >
329+ </ div >
330+ </ footer >
331+ <!-- Bootstrap Bundle JS -->
332+ < script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js "> </ script >
333+ < script src ="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js "> </ script >
334+ < script src ="/js/script.js "> </ script >
335+ <!-- Google tag (gtag.js) -->
336+ < script async src ="https://www.googletagmanager.com/gtag/js?id=G-FG2ZX76XGT "> </ script >
337+ < script >
338+ window . dataLayer = window . dataLayer || [ ] ;
339+ function gtag ( ) { dataLayer . push ( arguments ) ; }
340+ gtag ( 'js' , new Date ( ) ) ;
341+
342+ gtag ( 'config' , 'G-FG2ZX76XGT' ) ;
343+ </ script >
344+ </ body >
345+ </ html >
0 commit comments