mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Get off off rails-assets
Just moving the things we currently use (and should drop in the ASAP) to vendor/assets
This commit is contained in:
parent
9fd0807a9a
commit
b6560dbb34
659 changed files with 129299 additions and 67 deletions
15
vendor/assets/javascripts/holderjs/test/phantom.js
vendored
Normal file
15
vendor/assets/javascripts/holderjs/test/phantom.js
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
var page = require('webpage').create();
|
||||
|
||||
page.onConsoleMessage = function (message) {
|
||||
console.log('Page: ', message);
|
||||
};
|
||||
|
||||
page.open('index.html', function (status) {
|
||||
console.log(status);
|
||||
|
||||
if (status === 'success') {
|
||||
page.render('phantom.png');
|
||||
}
|
||||
|
||||
phantom.exit();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue