PHP Classes

File: test/out-js

Recommend this page to a friend!
  Classes of Nikos M.  >  Importer  >  test/out-js  >  Download  
File: test/out-js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Importer
Load classes, images, CSS and JavaScript
Author: By
Last change: v.1.1.5

* fix js load(class) when fewer arguments are provided
* in browser script assets ensure execution order
* various edits
Date: 1 year ago
Size: 1,210 bytes
 

Contents

Class file image Download
Importer.VERSION = 1.1.5
Importer.BASE = C:\nikos\work\_nikos\open_source\git\nikos\Importer\src\js
Test1.js
Test2.js
Callback
[Arguments] {
  '0': Importer {
    base: 'C:\\nikos\\work\\_nikos\\open_source\\git\\nikos\\Importer\\test',
    base_url: 'http://_mygit/Importer/test/',
    _classmap: { __global__: [Object], 'my-ctx': [Object] },
    _classes: { __global__: [Object], 'my-ctx': [Object] },
    _assets: { __global__: [Object], 'my-ctx': [Object] },
    _hooks: { __global__: {}, 'my-ctx': [Object] },
    _cache: {}
  },
  '1': 'Test2',
  '2': 'Test2',
  '3': 'C:\\nikos\\work\\_nikos\\open_source\\git\\nikos\\Importer\\test\\classes\\Test2.js',
  '4': [Function: Test2]
}
Test2.js
<link id="importer-style-asset1" href="http://_mygit/Importer/test/assets/asset1.css" rel="stylesheet" type="text/css" media="all" />
<link id="importer-style-asset2" href="http://_mygit/Importer/test/assets/asset2.css" rel="stylesheet" type="text/css" media="all" />
<style id="importer-inline-style-asset3" type="text/css" media="all">/* asset 3 */</style>
function Test1( )
{
    return 'Test1.js';    
}
console.log ('Test1.js');
if ( "undefined" !== typeof module && module.exports ) module.exports = Test1;
For more information send a message to info at phpclasses dot org.