Skip to content

Commit dac318f

Browse files
committed
clean up a dead project: change http to https; rename relfor
1 parent 4241b45 commit dac318f

26 files changed

+96
-133
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ PopScript is a systematic way to design modal boxes, lightboxes, dropdown menus,
66

77
Check the official popscript website for documentation and examples:
88

9-
- v1 : [popscript.rajnathani.com/v1/](http://popscript.rajnathani.com/v1) (**depracated**)
10-
- v2 : [popscript.rajnathani.com/v2](http://popscript.rajnathani.com/v2)
9+
- v1 : [popscript.rajnathani.com/v1/](https://popscript.rajnathani.com/v1) (**depracated**)
10+
- v2 : [popscript.rajnathani.com/v2](https://popscript.rajnathani.com/v2)

bower.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "popscript",
3-
"version": "2.0.0",
4-
"homepage": "http://popscript.relfor.co/v2",
3+
"version": "2.0.1",
4+
"homepage": "https://popscript.rajnathani.com/v2",
55
"authors": [
6-
"relfor <[email protected]>"
6+
"Raj Nathani <[email protected]>"
77
],
88
"description": "systematic way to design modal boxes, lightboxes, dropdown menus, tooltips, and any other dynamic elements",
99
"main": "dist/popscript.js",

test/visual.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!DOCTYPE html><html><head><meta charset="utf-8"><title>PopScript</title><link href="http://fonts.googleapis.com/css?family=Skranji|Sigmar+One|Merienda:400,700" rel="stylesheet" type="text/css"><link rel="shortcut icon" href="/v2/static/img/logo32.png"><link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css"><link rel="stylesheet" type="text/css" href="/v2/dist/popscript-boilerplate.css"><link rel="stylesheet" type="text/css" href="/v2/static/css/browser.css"><!--start Mixpanel--><script type="text/javascript">(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
1+
<!DOCTYPE html><html><head><meta charset="utf-8"><title>PopScript</title><link href="https://fonts.googleapis.com/css?family=Skranji|Sigmar+One|Merienda:400,700" rel="stylesheet" type="text/css"><link rel="shortcut icon" href="/v2/static/img/logo32.png"><link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css"><link rel="stylesheet" type="text/css" href="/v2/dist/popscript-boilerplate.css"><link rel="stylesheet" type="text/css" href="/v2/static/css/browser.css"><!--start Mixpanel--><script type="text/javascript">(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
22
typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");for(g=0;g<i.length;g++)f(c,i[g]);
33
b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]);
44
mixpanel.init("77b6d36b094632df57fa694f09808a5a");</script><!--end Mixpanel--><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
55
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
66
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
77
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
8-
ga('create', 'UA-46630680-1', 'relfor.co');
8+
ga('create', 'UA-46630680-1', 'popscript.rajnathani.com');
99
ga('send', 'pageview');</script><link href="visual.css" rel="stylesheet" type="text/css"></head><body><div id="header" class="cf"><a id="logo" href="/"><span>POP</span><span>SCRIPT</span></a><div id="nav" class="cf"><a href="/v2/docs/index.html"><span class="icon-book"></span> DOCS</a><a href="/v2/demo.html"><span class="icon-hand-up"></span> DEMO</a><a id="download" href="/v2/download.html"><span class="icon-download"></span> DOWNLOAD</a></div></div><div id="content" class="cf demo"></div><ul class="visual-tests"><li><p>Non binder pop</p><PS class="pop"></PS><button id="vt-non-binder"></button></li><li><p>binder pop (single in event)</p><PS class="pop">(with binder)</PS><button id="vt-binder-1"></button></li><li><p>binder pop (multiple in event: 'click', 'contextmenu')</p><PS class="pop">(with binder)</PS><button id="vt-binder-2"></button></li><li><p>This should display hello world in bold;</p><PS class="pop">(parameter:content)</PS><button id="vt-basic-1"></button></li><li><p>This should display hello world in bold;</p><PS class="pop">(parameter:content)</PS><button id="vt-basic-2"></button></li><li><p>This should display hello world in bold;</p><PS class="pop">(parameter:content)</PS><button id="vt-basic-3"></button></li><li><p>This should display hello world in bold;</p><PS class="pop">(parameter:content)</PS><button id="vt-basic-4"></button></li><li><p>This pop will check for `beforePopOut` where the developer's decision is to not let the pop be outed (therefore the pop will NOT destroy).</p><i>beforePopOut</i><button id="vt-beforepopout-1"></button></li><li><p>This pop will check for `beforePopOut` where the developer's decision is to let the pop be outed.</p><i>beforePopOut in extra_dict</i><button id="vt-beforepopout-2"></button></li><li><p>This pop will check for `beforePopIn` where the developer's decision is to not let the pop be created (for a binder) (therefore the pop will not be created).</p><i>beforePopIn</i><button id="vt-beforepopin-1"></button></li><li><p>This pop will check for `beforePopIn` where the developer's decision is to let the pop be created (non-binder).</p><i>beforePopIn</i><button id="vt-beforepopin-2"></button></li><li><p>This pop will check for `afterPopOut` and that its invoked at the correct moment, and with the correct paramters (curPop and out_type). This also tests the successive manipulation of (animation and animation duration) through inline popscript. There will be dispatch of a pop as soon as the pop is destroyd/hidden.</p><i>afterPopOut, inline popscript</i><button id="vt-afterpopout-1"></button></li><li><p>This invoke multiple callbacks for `afterPopOut` with the help of an array of function callbacks as opposed to a single function.</p><i>afterPopOut</i><button id="vt-afterpopout-2"></button></li><li><p>This pop will check if a pop can be hidden and shown, with its inner content preserved.</p><i>popHide, popShow</i><button id="vt-hide-and-show"></button></li><li><p>This pop will check if a pop can be toggled, with its inner content preserved.</p><i>popToggle</i><button id="vt-toggle"></button></li><li><p>This pop will change to a success pop in 1 second, then to an error pop in 2 seconds, then finally back to this original no class (basic) pop in 3 seconds. The transition will be: undefined (which means that the in animation default 'zap-in' should play) for the first, 0ms for the second, and 500ms for the third.</p><i>Pop.changeClass</i><button id="vt-change-class"></button></li><li><p>This pop will move: top left -> top right -> bottom right -> bottom left -> auto auto, of the screen. The transitions will be of 400ms each.</p><i>Pop.changeProperties</i><button id="vt-inline-and-macros"></button></li><li><p>This will change its position to: right -> left -> right, with no transition</p><i>Pop.changeProperty</i><button id="vt-change-pop-prop"></button></li><li><p>Timeline: after 1 second the cancel button disappears, after 2 seconds the cover disappears, finally after 3 seconds both reappear.</p><i>Pop.changeProperty, Pop.changeProperties</i><button id="vt-change-pop-prop-n-inline"></button></li><li><p>This is fully draggable</p><i>full_draggable</i><button id="vt-drag-1"></button></li><li><p>Drag particular sub element of pop. This pop should be draggable by its header.</p><i>popscript-drag</i><button id="vt-drag-2"></button></li><li><p>Drag particular sub element of pop. This pop should be draggable by its footer.</p><i>popscript-drag</i><button id="vt-drag-3"></button></li><li><p>Out a pop using a sub element using the popscript-out class.</p><i>popscript-out (class)</i><button id="vt-sub-out-1"></button></li><!--lip Out a pop using a sub element using the popOut event handler.
1010
i popOut
1111
button#vt-sub-out-2
@@ -27,4 +27,4 @@
2727
2828
2929
30-
--></ul><div id="main-footer">Crafted with&nbsp;<span class="icon-heart-empty"></span> by&nbsp;<a href="http://relfor.co">Relfor</a></div><script src="/v2/dist/popscript.js" defer="defer"></script><script src="/v2/dist/popscript-boilerplate.js" defer="defer"></script><script src="/v2/static/js/prettify.js" defer="defer"></script><script src="/v2/static/js/index.js" defer="defer"></script><script src="visual.js" defer></script><a href="https://github.com/relfor/popscript"><img id="github-ribbon" style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a></body></html>
30+
--></ul><div id="main-footer">Crafted with&nbsp;<span class="icon-heart-empty"></span> by&nbsp;<a href="https://rajnathani.com">Raj Nathani</a></div><script src="/v2/dist/popscript.js" defer="defer"></script><script src="/v2/dist/popscript-boilerplate.js" defer="defer"></script><script src="/v2/static/js/prettify.js" defer="defer"></script><script src="/v2/static/js/index.js" defer="defer"></script><script src="visual.js" defer></script><a href="https://github.com/rajnathani/popscript"><img id="github-ribbon" style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a></body></html>

www/docs/_build/html/_sources/getting-started.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Let us begin with what comes out of the box, you will need these to start poppin
1818

1919
How to put in these files?
2020

21-
| Installating via `Web Componenets <http://www.w3.org/TR/components-intro/>`_ is currently on the wish list and therefore unavailable.
21+
| Installating via `Web Componenets <https://www.w3.org/TR/components-intro/>`_ is currently on the wish list and therefore unavailable.
2222

23-
Installing via `Bower <http://bower.io/>`_ can be done using the following command::
23+
Installing via `Bower <https://bower.io/>`_ can be done using the following command::
2424

2525
> bower install popscript
2626

www/docs/_build/html/_sources/pop-properties.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Click on properties (in red) to view its role.
347347

348348
======== ==================================================
349349
Input String
350-
Task Accepts the CSS animation for the entrance of the pop's box. The input of the animation is of same format of that of the standard CSS3 animation property. There are multiple ways of entering a CSS3 animation inclusive of all animation subproperties such as keyframe name, delay, curving, duration and more. Refer to the `w3 docs <http://dev.w3.org/csswg/css-animations/>`_ for further details. Remember that multiple animations can be specified with the delimiter of a comma.Please note that supplying a duration for the animation is optional in case you specify the ``duration`` property. And if no animation is desired then input the empty string ''.
350+
Task Accepts the CSS animation for the entrance of the pop's box. The input of the animation is of same format of that of the standard CSS3 animation property. There are multiple ways of entering a CSS3 animation inclusive of all animation subproperties such as keyframe name, delay, curving, duration and more. Refer to the `w3 docs <https://dev.w3.org/csswg/css-animations/>`_ for further details. Remember that multiple animations can be specified with the delimiter of a comma.Please note that supplying a duration for the animation is optional in case you specify the ``duration`` property. And if no animation is desired then input the empty string ''.
351351

352352
Example 'zap-in 2s, fade-in' (yes, no duration is mentioned for the second animation 'fade-in', please read on)
353353
Default ''
@@ -360,7 +360,7 @@ Click on properties (in red) to view its role.
360360

361361
======== ==================================================
362362
Input String
363-
Task Accepts the CSS animation for the entrance of the pop's cover. The input of the animation is of same format of that of the standard CSS3 animation property. There are multiple ways of entering a CSS3 animation inclusive of all animation subproperties such as keyframe name, delay, curving, duration and more. Refer to the `w3 docs <http://dev.w3.org/csswg/css-animations/>`_ for further details. Remember that multiple animations can be specified with the delimiter of a comma. Please note that supplying a duration for the animation is optional in case you specify the ``duration`` property. And if no animation is desired then input the empty string ''.
363+
Task Accepts the CSS animation for the entrance of the pop's cover. The input of the animation is of same format of that of the standard CSS3 animation property. There are multiple ways of entering a CSS3 animation inclusive of all animation subproperties such as keyframe name, delay, curving, duration and more. Refer to the `w3 docs <https://dev.w3.org/csswg/css-animations/>`_ for further details. Remember that multiple animations can be specified with the delimiter of a comma. Please note that supplying a duration for the animation is optional in case you specify the ``duration`` property. And if no animation is desired then input the empty string ''.
364364

365365
Example 'fade-in 1s'
366366
Default ''
@@ -390,7 +390,7 @@ Click on properties (in red) to view its role.
390390

391391
======== ==================================================
392392
Input String
393-
Task Accepts the CSS animation for the exit of the pop's box. The input of the animation is of same format of that of the standard CSS3 animation property. There are multiple ways of entering a CSS3 animation inclusive of all animation subproperties such as keyframe name, delay, curving, duration and more. Refer to the `w3 docs <http://dev.w3.org/csswg/css-animations/>`_ for further details. Remember that multiple animations can be specified with the delimiter of a comma. Please note that supplying a duration for the animation is optional in case you specify the ``duration`` property. And if no animation is desired then input the empty string ''.
393+
Task Accepts the CSS animation for the exit of the pop's box. The input of the animation is of same format of that of the standard CSS3 animation property. There are multiple ways of entering a CSS3 animation inclusive of all animation subproperties such as keyframe name, delay, curving, duration and more. Refer to the `w3 docs <https://dev.w3.org/csswg/css-animations/>`_ for further details. Remember that multiple animations can be specified with the delimiter of a comma. Please note that supplying a duration for the animation is optional in case you specify the ``duration`` property. And if no animation is desired then input the empty string ''.
394394

395395
Example 'zap-in 2s, fade-in' (yes, no duration is mentioned for the second animation 'fade-in', please read on)
396396
Default ''
@@ -404,7 +404,7 @@ Click on properties (in red) to view its role.
404404

405405
======== ==================================================
406406
Input String
407-
Task Accepts the CSS animation for the exit of the pop's cover. The input of the animation is of same format of that of the standard CSS3 animation property. There are multiple ways of entering a CSS3 animation inclusive of all animation subproperties such as keyframe name, delay, curving, duration and more. Refer to the `w3 docs <http://dev.w3.org/csswg/css-animations/>`_ for further details. Remember that multiple animations can be specified with the delimiter of a comma. Please note that supplying a duration for the animation is optional in case you specify the ``duration`` property. And if no animation is desired then input the empty string ''.
407+
Task Accepts the CSS animation for the exit of the pop's cover. The input of the animation is of same format of that of the standard CSS3 animation property. There are multiple ways of entering a CSS3 animation inclusive of all animation subproperties such as keyframe name, delay, curving, duration and more. Refer to the `w3 docs <https://dev.w3.org/csswg/css-animations/>`_ for further details. Remember that multiple animations can be specified with the delimiter of a comma. Please note that supplying a duration for the animation is optional in case you specify the ``duration`` property. And if no animation is desired then input the empty string ''.
408408

409409
Example 'fade-in 1s'
410410
Default ''

www/docs/_build/html/advanced.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3+
"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
44

55

6-
<html xmlns="http://www.w3.org/1999/xhtml">
6+
<html xmlns="https://www.w3.org/1999/xhtml">
77
<head>
88
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
99

@@ -28,8 +28,8 @@
2828
<link rel="top" title="Popscript 1.0 documentation" href="index.html"/>
2929
<link rel="prev" title="Chapter 2: Pop Methods" href="pop-methods.html"/>
3030

31-
<link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css">
32-
<link href="http://fonts.googleapis.com/css?family=Skranji|Sigmar+One|Merienda:400,700" rel="stylesheet" type="text/css">
31+
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css">
32+
<link href="https://fonts.googleapis.com/css?family=Skranji|Sigmar+One|Merienda:400,700" rel="stylesheet" type="text/css">
3333
<link rel="stylesheet" type="text/css" href="/v2/dist/popscript-boilerplate.css"/>
3434
<link rel="stylesheet" type="text/css" href="/v2/static/css/browser.css"/>
3535

@@ -364,7 +364,7 @@ <h1>Chapter 3: Advanced<a class="headerlink" href="#chapter-3-advanced" title="P
364364

365365
</div>
366366
<div class="footer">
367-
&copy; Copyright 2013, Relfor.
367+
&copy; Copyright 2013, Raj Nathani.
368368
Documentation created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.2.2.
369369
</div>
370370

www/docs/_build/html/genindex.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33

44
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5+
"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
66

77

8-
<html xmlns="http://www.w3.org/1999/xhtml">
8+
<html xmlns="https://www.w3.org/1999/xhtml">
99
<head>
1010
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
1111

@@ -29,8 +29,8 @@
2929
<script type="text/javascript" src="_static/doctools.js"></script>
3030
<link rel="top" title="Popscript 1.0 documentation" href="index.html"/>
3131

32-
<link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css">
33-
<link href="http://fonts.googleapis.com/css?family=Skranji|Sigmar+One|Merienda:400,700" rel="stylesheet" type="text/css">
32+
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css">
33+
<link href="https://fonts.googleapis.com/css?family=Skranji|Sigmar+One|Merienda:400,700" rel="stylesheet" type="text/css">
3434
<link rel="stylesheet" type="text/css" href="/v2/dist/popscript-boilerplate.css"/>
3535
<link rel="stylesheet" type="text/css" href="/v2/static/css/browser.css"/>
3636

@@ -85,7 +85,7 @@ <h1 id="index">Index</h1>
8585

8686
</div>
8787
<div class="footer">
88-
&copy; Copyright 2013, Relfor.
88+
&copy; Copyright 2013, Raj Nathani.
8989
Documentation created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.2.2.
9090
</div>
9191

0 commit comments

Comments
 (0)