Skip to content

Commit 9886ac5

Browse files
committed
[[ ScriptExtensions ]] Change revLoadLibrary and revUnloadLibrary
to extensionInitialize and extensionFinalize respectively. Also change revLibraryStartupScript to extensionStartupScript
1 parent dd57206 commit 9886ac5

File tree

12 files changed

+67
-67
lines changed

12 files changed

+67
-67
lines changed

extensions/script-libraries/diff/diff.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
on revLoadLibrary
20+
on extensionInitialize
2121
if the target is not me then
22-
pass revLoadLibrary
22+
pass extensionInitialize
2323
end if
2424

2525
insert the script of me into back
2626

2727
if the environment contains "development" then
2828
set the _ideoverride of me to true
2929
end if
30-
end revLoadLibrary
30+
end extensionInitialize
3131

32-
on revUnloadLibrary
32+
on extensionFinalize
3333
if the target is not me then
34-
pass revUnloadLibrary
34+
pass extensionFinalize
3535
end if
3636

3737
remove the script of me from back
38-
end revUnloadLibrary
38+
end extensionFinalize
3939

4040
/**
4141
Title: Unified Diff Library

extensions/script-libraries/dropbox/dropbox.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919
SOFTWARE.
2020
*/
2121

22-
on revLoadLibrary
22+
on extensionInitialize
2323
if the target is not me then
24-
pass revLoadLibrary
24+
pass extensionInitialize
2525
end if
2626

2727
insert the script of me into back
2828

2929
if the environment contains "development" then
3030
set the _ideoverride of me to true
3131
end if
32-
end revLoadLibrary
32+
end extensionInitialize
3333

34-
on revUnloadLibrary
34+
on extensionFinalize
3535
if the target is not me then
36-
pass revUnloadLibrary
36+
pass extensionFinalize
3737
end if
3838

3939
remove the script of me from back
40-
end revUnloadLibrary
40+
end extensionFinalize
4141

4242
/**
4343
Title: Dropbox Library

extensions/script-libraries/getopt/getopt.livecodescript

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
on revLoadLibrary
20+
on extensionInitialize
2121
if the target is not me then
22-
pass revLoadLibrary
22+
pass extensionInitialize
2323
end if
2424

2525
insert the script of me into back
2626

2727
if the environment contains "development" then
2828
set the _ideoverride of me to true
2929
end if
30-
end revLoadLibrary
30+
end extensionInitialize
3131

3232
/**
3333
Title: Command-line Option Parser

extensions/script-libraries/httpd/httpd.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ for more details.
1616
You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1818

19-
on revLoadLibrary
19+
on extensionInitialize
2020
if the target is not me then
21-
pass revLoadLibrary
21+
pass extensionInitialize
2222
end if
2323

2424
insert the script of me into back
2525

2626
if the environment contains "development" then
2727
set the _ideoverride of me to true
2828
end if
29-
end revLoadLibrary
29+
end extensionInitialize
3030

31-
on revUnloadLibrary
31+
on extensionFinalize
3232
if the target is not me then
33-
pass revUnloadLibrary
33+
pass extensionFinalize
3434
end if
3535

3636
remove the script of me from back
37-
end revUnloadLibrary
37+
end extensionFinalize
3838

3939
/**
4040
Title: HTTPD Library

extensions/script-libraries/messageauthentication/messageauthentication.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
on revLoadLibrary
20+
on extensionInitialize
2121
if the target is not me then
22-
pass revLoadLibrary
22+
pass extensionInitialize
2323
end if
2424

2525
insert the script of me into back
2626

2727
if the environment contains "development" then
2828
set the _ideoverride of me to true
2929
end if
30-
end revLoadLibrary
30+
end extensionInitialize
3131

32-
on revUnloadLibrary
32+
on extensionFinalize
3333
if the target is not me then
34-
pass revUnloadLibrary
34+
pass extensionFinalize
3535
end if
3636

3737
remove the script of me from back
38-
end revUnloadLibrary
38+
end extensionFinalize
3939

4040
/**
4141
Title: Message Authentication Library

extensions/script-libraries/mime/mime.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
on revLoadLibrary
20+
on extensionInitialize
2121
if the target is not me then
22-
pass revLoadLibrary
22+
pass extensionInitialize
2323
end if
2424

2525
insert the script of me into back
@@ -29,15 +29,15 @@ on revLoadLibrary
2929
end if
3030

3131
__Initialize
32-
end revLoadLibrary
32+
end extensionInitialize
3333

34-
on revUnloadLibrary
34+
on extensionFinalize
3535
if the target is not me then
36-
pass revUnloadLibrary
36+
pass extensionFinalize
3737
end if
3838

3939
remove the script of me from back
40-
end revUnloadLibrary
40+
end extensionFinalize
4141

4242
/**
4343
Title: MIME Library

extensions/script-libraries/oauth2/oauth2.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ You should have received a copy of the GNU General Public License
1717
along with LiveCode. If not see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
on revLoadLibrary
20+
on extensionInitialize
2121
if the target is not me then
22-
pass revLoadLibrary
22+
pass extensionInitialize
2323
end if
2424

2525
insert the script of me into back
@@ -28,15 +28,15 @@ on revLoadLibrary
2828
set the _ideoverride of me to true
2929
revSBAddDependencyForInclusion "scriptLibraries", "OAuth2", "externals", "mergJSON"
3030
end if
31-
end revLoadLibrary
31+
end extensionInitialize
3232

33-
on revUnloadLibrary
33+
on extensionFinalize
3434
if the target is not me then
35-
pass revUnloadLibrary
35+
pass extensionFinalize
3636
end if
3737

3838
remove the script of me from back
39-
end revUnloadLibrary
39+
end extensionFinalize
4040

4141
/**
4242
Title: OAuth2 Library

extensions/script-libraries/qr/qr.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Original Author - John Craig
88
99
*/
1010

11-
on revLoadLibrary
11+
on extensionInitialize
1212
if the target is not me then
13-
pass revLoadLibrary
13+
pass extensionInitialize
1414
end if
1515

1616
insert the script of me into back
@@ -19,15 +19,15 @@ on revLoadLibrary
1919
if the environment contains "development" then
2020
set the _ideoverride of me to true
2121
end if
22-
end revLoadLibrary
22+
end extensionInitialize
2323

24-
on revUnloadLibrary
24+
on extensionFinalize
2525
if the target is not me then
26-
pass revUnloadLibrary
26+
pass extensionFinalize
2727
end if
2828

2929
remove the script of me from back
30-
end revUnloadLibrary
30+
end extensionFinalize
3131

3232
/**
3333
Title: QR Code Generator

extensions/script-libraries/semver/semver.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ Copyright (c) Isaac Z. Schlueter and Contributors
2121
2222
*/
2323

24-
on revLoadLibrary
24+
on extensionInitialize
2525
if the target is not me then
26-
pass revLoadLibrary
26+
pass extensionInitialize
2727
end if
2828

2929
insert the script of me into back
3030

3131
if the environment contains "development" then
3232
set the _ideoverride of me to true
3333
end if
34-
end revLoadLibrary
34+
end extensionInitialize
3535

36-
on revUnloadLibrary
36+
on extensionFinalize
3737
if the target is not me then
38-
pass revUnloadLibrary
38+
pass extensionFinalize
3939
end if
4040

4141
remove the script of me from back
42-
end revUnloadLibrary
42+
end extensionFinalize
4343

4444
/**
4545

ide-support/revhtml5urllibrary.livecodescript

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ for more details.
1717
You should have received a copy of the GNU General Public License
1818
along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1919

20-
on revLoadLibrary
20+
on extensionInitialize
2121
if the target is not me then
22-
exit revLoadLibrary
22+
exit extensionInitialize
2323
end if
2424

2525
if the environment is "development" then
@@ -29,11 +29,11 @@ on revLoadLibrary
2929
if the platform is "HTML5" then
3030
libURLSetDriver the long id of me
3131
end if
32-
end revLoadLibrary
32+
end extensionInitialize
3333

34-
on revUnloadLibrary
34+
on extensionFinalize
3535
if the target is not me then
36-
exit revUnloadLibrary
36+
exit extensionFinalize
3737
end if
3838

3939
if the environment is "development" then
@@ -43,7 +43,7 @@ on revUnloadLibrary
4343
if the platform is "HTML5" then
4444
libURLSetDriver empty
4545
end if
46-
end revUnloadLibrary
46+
end extensionFinalize
4747

4848
--------------------------------------------------------------------------------
4949
-- LibURL driver config

0 commit comments

Comments
 (0)