Skip to content

Commit

Permalink
bug fix: route2page was called instead of cG.route2page
Browse files Browse the repository at this point in the history
  • Loading branch information
ogewan committed Jul 23, 2015
1 parent 7946868 commit b7f2aeb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions comixngn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** @preserve comix-ngn v1.0.6 | (c) 2015 Oluwaseun Ogedengbe| ogewan.github.io/comix-ngn/ |License: MIT|
/** @preserve comix-ngn v1.0.7 | (c) 2015 Oluwaseun Ogedengbe| ogewan.github.io/comix-ngn/ |License: MIT|
embeds domReady: github.com/ded/domready (MIT) (c) 2013 Dustin Diaz, pegasus: typicode.github.io/pegasus (MIT) (c) 2014 typicode, pathjs (MIT) (c) 2011 Mike Trpcic, direction.js*/

var cG = cG||{};/*if(void 0===cG) var cG = {};*//*check if cG is already is instantiated*/
Expand All @@ -9,7 +9,7 @@ cG.N =function(){return 0};/*null function*/
if(void 0===cG.$GPC){cG.$GPC=0;}
cG.root = '';
cG.cPanel = cG.cPanel||{};
cG.info = {vix: "1.0.6",vwr: "0.5.0",vpr: "0.1.0"};
cG.info = {vix: "1.0.7",vwr: "0.5.0",vpr: "0.1.0"};
cG.dis = cG.dis||{};
cG.recyclebin = cG.recyclebin||{};
cG.queue = cG.queue||{};
Expand Down Expand Up @@ -484,7 +484,7 @@ cG.stageInjection = function(SPECIFIC){
/*ROUTING*/
cG.route2page = cG.route2page||function(orgvalue){
var value = orgvalue||parseInt(this.params['page'],10);
if(cG.script === '') return setTimeout(route2page,300,value);
if(cG.script === '') return setTimeout(cG.route2page,300,value);
if(!cG.script) return -1;
var modify = (cG.script.config.pagestartnum)?1:0;
cG.prePage = value-modify;
Expand Down
2 changes: 1 addition & 1 deletion comixngn.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions comixngn.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b7f2aeb

Please sign in to comment.