Start adding basic login infrastructure (still needs styling)
[gitphp.git] / js / modules / getproject.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * GetProject
 * 
 * Gets the page project for use in ajax requests
 * 
 * @author Christopher Han <xiphux@gmail.com>
 * @copyright Copyright (c) 2011 Christopher Han
 * @package GitPHP
 * @subpackage Javascript
 */
 
define(['module'],
        function(module) {
                return module.config().project || null;
        }
);
 
comments