Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 4866501

Browse files
committed
changed new function name
1 parent 28bd011 commit 4866501

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "saffroncodejs",
3-
"version": "1.9.9",
3+
"version": "2.1.2",
44
"description": "Package of optimised react components and javascript functions for developers ♫♪",
55
"main": "./lib/SaffronCode.js",
66
"types": "./lib/SaffronCode.d.ts",

src/framework/pageManager/PageManager.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface PageManagerModel {
1212
PAGE_CHANGED:string,
1313
routerParamList:string,
1414
changePage:typeof changePage,
15-
changePageURL:typeof changePageURL,
15+
returnPageURL:typeof returnPageURL,
1616
decodePageParams:typeof decodePageParams,
1717
getCurrentPage:typeof getCurrentPage,
1818
registerPage:typeof registerPage,
@@ -24,7 +24,7 @@ var PageManager:PageManagerModel = {
2424
PAGE_CHANGED : "PAGE_CHANGED",
2525
routerParamList:'',
2626
changePage:changePage,
27-
changePageURL:changePageURL,
27+
returnPageURL:returnPageURL,
2828
decodePageParams:decodePageParams,
2929
getCurrentPage:getCurrentPage,
3030
registerPage:registerPage,
@@ -46,7 +46,7 @@ function registerPage(page:PageData):void
4646

4747
var cashedLastPage = new PageData();
4848

49-
function changePageURL(targetPage:PageData,pageData:any[]=[]):string
49+
function returnPageURL(targetPage:PageData,pageData:any[]=[]):string
5050
{
5151
if(targetPage!==null)
5252
{
@@ -64,7 +64,6 @@ function changePageURL(targetPage:PageData,pageData:any[]=[]):string
6464
return '.';
6565
}
6666

67-
6867
function changePage(targetPage:PageData,pageData:any[]=[]):void
6968
{
7069
if(targetPage!==null)

0 commit comments

Comments
 (0)