This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useMemo, useRef, useEffect } from 'react'; | |
| const withPropsOnChange = function (shouldMapOrKeys, createProps) { | |
| return function usePropsOnChange(props) { | |
| const memoIdxRef = useRef(0); | |
| const prevPropsRef = useRef(); | |
| const prevProps = prevPropsRef.current; | |
| useEffect(() => { prevPropsRef.current = props; }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/html" data-bbbx-template="gallery.item"> | |
| <li class="fg4"> | |
| <div class="bbbx-item" style="width:100%;"> | |
| <a href="javascript:void(0);" rel="tooltip" data-bbbx-trigger="player.open" data-bbbx-entry="<%=id%>" data-bbbx-type="<%=type%>" data-direct-link="<%=getLink()%>"> | |
| <img src="<%=thumb_url%>" class="bbbx-item-thumb bbbx-loaded" width="100%"> | |
| <div class="bbbx-icon-type bbbx-icon-<%=type%>"></div> | |
| <div class="bb-icon-play"> | |
| <p><%=meta.name%></p> | |
| <img src="<%=info.thumb%>" width="25" height="25"> | |
| <strong><%=info.line1%></strong> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/usr/bin/env bash | |
| # MIT © Sindre Sorhus - sindresorhus.com | |
| # forked by Gianluca Guarini | |
| # forked by Gert Sallaerts | |
| changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
| check_run() { | |
| echo "$changed_files" | grep --quiet "$1" && eval "$2" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div style="width:1130px;"> | |
| <div class="bbbx-widget" data-widget="3341"></div> | |
| </div> | |
| <!-- custom html --> | |
| <script type="text/javascript"> | |
| var bbbx_widget_id = 3341; | |
| /** custom settings **/ | |
| (function() { | |
| var bbbx = document.createElement('script'); bbbx.type = 'text/javascript'; bbbx.async = true; | |
| bbbx.src = '//api.bubobox.com/widget.js?id=' + bbbx_widget_id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * BuboBox form callback module | |
| * | |
| * @author Wim Mostmans ([email protected]) | |
| * @contributor Gert Sallaerts ([email protected]) | |
| * | |
| * @license BSD | |
| * | |
| * Copyright (c) 2014 BuboBox | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <label for="name">Name</label> | |
| <input type="text" name="name" id="name" value="" /> | |
| <label for="email">Email</label> | |
| <input type="email" name="email" id="email" value="" data-validation-rule="valid_email" /> | |
| <div data-bbbx-init="upload" class="bbbx-button" id="upload3" data-bbbx-type="attachment"> | |
| <div class="bbbx-upload-label">Choose your image</div> | |
| <div class="bbbx-upload-progress">Uploading file <span data-bbbx-init="upload.progress">0</span>%</div> | |
| <div class="bbbx-upload-success">File is uploaded</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p>Use this screen to get some information about your user. It's fully customizable or you can leave it out if you don't need to know anything about your user.</p> | |
| <label for="name">Name <span>*</span></label> | |
| <input type="text" name="name" id="name" value="" data-validation-rule="required" /> | |
| <label for="email">Email <span>*</span></label> | |
| <input type="email" name="email" id="email" value="" data-validation-rule="required|valid_email" /> | |
| <label for="website">Website</label> | |
| <input type="website" name="website" id="website" value="" data-validation-rule="valid_url" /> |