You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
569 B
29 lines
569 B
<?php |
|
|
|
function dijit_code_location() { |
|
return '../../dijit/'; |
|
} |
|
|
|
function dijit_project_name() { |
|
return 'dijit'; |
|
} |
|
|
|
function dijit_resource_name($namespace, $file) { |
|
return $file; |
|
} |
|
|
|
function dijit_package_name($namespace, $file) { |
|
//return; |
|
$parts = explode('/', $file); |
|
if ($parts[0] == '_base') { |
|
return $namespace; |
|
} |
|
$file_parts = explode('.', array_pop($parts)); |
|
if (in_array('tests', $parts)) return; |
|
array_pop($file_parts); |
|
array_push($parts, implode('.', $file_parts)); |
|
array_unshift($parts, $namespace); |
|
return implode('.', $parts); |
|
} |
|
|
|
?> |