Deploy mode not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Deploy mode not working

Bernat Romagosa
Hi list,

I'm trying to set an app in deployment mode, so this is what I'm doing:

  <head>
       <script type="text/javascript" src="./js/amber.js"></script>
  </head>
  <body>
      <script type="text/javascript">
       loadAmber({
                deploy: true,
                files: ['MyPackage.deploy.js' , 'MyOtherPackage.deploy.js' ],
                prefix: 'js/',
                });
    </script>                  

But it's not working, these are the error messages I get in the js console:

Uncaught SyntaxError: Unexpected token ILLEGAL : Kernel-Objects.deploy.js:1351
init.js:2Uncaught TypeError: Object [object Object] has no method '_initialize' : init.js:2

Am I doing something wrong or is this a bug?

Thanks!

-- 
Bernat Romagosa.
Reply | Threaded
Open this post in threaded view
|

Re: Deploy mode not working

Nicolas Petton
Nope, this is a indeed a bug :)
It should be reported to the issue tracker (I can do it if you want).

Cheers,
Nico

On Tue, 2011-11-08 at 14:03 +0100, Bernat Romagosa wrote:

> Hi list,
>
>
> I'm trying to set an app in deployment mode, so this is what I'm
> doing:
>
>
>   <head>
>        <script type="text/javascript" src="./js/amber.js"></script>
>   </head>
>   <body>
>       <script type="text/javascript">
>        loadAmber({
>                 deploy: true,
>                 files: ['MyPackage.deploy.js' ,
> 'MyOtherPackage.deploy.js' ],
>                 prefix: 'js/',
>                 });
>     </script>                  
>
>
> But it's not working, these are the error messages I get in the js
> console:
>
>
> Uncaught SyntaxError: Unexpected token
> ILLEGAL : Kernel-Objects.deploy.js:1351
> init.js:2Uncaught TypeError: Object [object Object] has no method
> '_initialize' : init.js:2
>
>
> Am I doing something wrong or is this a bug?
>
>
> Thanks!
>
>
> --
> Bernat Romagosa.
>


Reply | Threaded
Open this post in threaded view
|

Re: Deploy mode not working

Bernat Romagosa
Thanks, I've just reported it :)

Cheers,

2011/11/8 Nicolas Petton <[hidden email]>
Nope, this is a indeed a bug :)
It should be reported to the issue tracker (I can do it if you want).

Cheers,
Nico

On Tue, 2011-11-08 at 14:03 +0100, Bernat Romagosa wrote:
> Hi list,
>
>
> I'm trying to set an app in deployment mode, so this is what I'm
> doing:
>
>
>   <head>
>        <script type="text/javascript" src="./js/amber.js"></script>
>   </head>
>   <body>
>       <script type="text/javascript">
>        loadAmber({
>                 deploy: true,
>                 files: ['MyPackage.deploy.js' ,
> 'MyOtherPackage.deploy.js' ],
>                 prefix: 'js/',
>                 });
>     </script>
>
>
> But it's not working, these are the error messages I get in the js
> console:
>
>
> Uncaught SyntaxError: Unexpected token
> ILLEGAL : Kernel-Objects.deploy.js:1351
> init.js:2Uncaught TypeError: Object [object Object] has no method
> '_initialize' : init.js:2
>
>
> Am I doing something wrong or is this a bug?
>
>
> Thanks!
>
>
> --
> Bernat Romagosa.
>





--
Bernat Romagosa.