Permalink
Browse files

integrate composer

  • Loading branch information...
romaninsh committed Jul 17, 2013
1 parent 31d81a6 commit f90117dd80d48c36f188842df7508427f0d5cc4b
Showing with 15 additions and 5 deletions.
  1. +10 −0 composer.json
  2. +1 −0 index.php
  3. +4 −4 lib/Frontend.php
  4. +0 −1 templates/js/jquery-syntaxhighlighter
View
@@ -0,0 +1,10 @@
+{
+ "provide": {
+ "atk4/atk4": "dev-master"
+ },
+ "require": {
+ "romaninsh/validation": "dev-master",
+ "agile55/ga": "dev-master",
+ "romaninsh/documenting": "dev-master"
+ }
+}
View
@@ -1,4 +1,5 @@
<?php
include 'atk4/loader.php';
+include 'vendor/autoload.php';
$api=new Frontend('codepad');
$api->main();
View
@@ -47,10 +47,10 @@ function initLayout(){
}
- $page->template->eachTag('Code',function($a,$b) use($page){ $page->add('View_Code',null,$b)->set($a); });
- $page->template->eachTag('Example',function($a,$b) use($page){ $page->add('View_Example',null,$b)->set($a); });
- $page->template->eachTag('Silent',function($a,$b) use($page){ $page->add('View_Example',null,$b)->set($a,true); });
- $page->template->eachTag('ExecuteTrigger',function($a,$b) use($page){ $page->add('View_ExecuteTrigger',null,$b)->set($a,'trigger'); });
+ $page->template->eachTag('Code',function($a,$b) use($page){ $page->add('documenting/View_Code',null,$b)->set($a); });
+ $page->template->eachTag('Example',function($a,$b) use($page){ $page->add('documenting/View_Example',null,$b)->set($a); });
+ $page->template->eachTag('Silent',function($a,$b) use($page){ $page->add('documenting/View_Example',null,$b)->set($a,true); });
+ $page->template->eachTag('ExecuteTrigger',function($a,$b) use($page){ $page->add('documenting/View_ExecuteTrigger',null,$b)->set($a,'trigger'); });
if(!$this->tree && $this->template->hasTag('SubMenu')){
Submodule jquery-syntaxhighlighter deleted from 638919

0 comments on commit f90117d

Please sign in to comment.