darsain / laravel-console

In-browser console for Laravel PHP framework.
170 stars 44 forks source link

Cannot focus editor #29

Closed szkuwa closed 10 years ago

szkuwa commented 10 years ago

No matter what I try I simply cannot focus editor (and write anything) Tested with different browsers: Opera 12.16 Firefox 29.0 Chromium 34.0.1847.116 Chrome 35.0.1916.114 OS: Ubuntu 14.04

Does it require some specific version of flash/java/whatever?

//EDIT: It seems to be a blade bug, after inspection I found that my compiled partials/head.blade.php looks like this:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>Laravel Console</title>
        <meta name="viewport" content="width=device-width">

        <?php echo HTML::style('packages/darsain/laravel-console/css/normalize.css'); ?>
        <?php echo HTML::style('packages/darsain/laravel-console/css/main.css'); ?>
        {{ HTML::style('packages/darsain/laravel-console/css/codemirror.css') }}
        <?php echo HTML::style('packages/darsain/laravel-console/css/laravel.css'); ?>

        <?php echo HTML::script('packages/darsain/laravel-console/js/vendor/modernizr.js'); ?>
    </head>
    <body>
darsain commented 10 years ago

Any solutions? Or just wait for fix?

szkuwa commented 10 years ago

As I found out it's related to Blade and HHVM (https://github.com/facebook/hhvm/issues/2841), nothing to fix here. False alarm :)