Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bordercontainer not working correctly using angular-dojo #2

Open
monobyte opened this issue Jul 16, 2013 · 2 comments
Open

Bordercontainer not working correctly using angular-dojo #2

monobyte opened this issue Jul 16, 2013 · 2 comments

Comments

@monobyte
Copy link

Hi,

I've been trying to get a working example using angular-dojo but cannot seem to make my BorderContainer and ContentPane's display correctly.
I am quite new to Angular and Dojo so any help on what I am doing wrong would be greatful.

Here's my code:

<html data-ng-app="angular-dojo-test">
  <head>
    <link rel="stylesheet" type="text/css" href="vendor/dojo-release-1.9.1/dijit/themes/claro/claro.css" />
      <script src="vendor/dojo-release-1.9.1/dojo/dojo.js"></script>
      <script src="vendor/angular-1.1.5/angular.js"></script>
      <script src="vendor/angular-dojo.js"></script>
      <script>

function TestController($scope) {
$scope.leftName = "Left Pane";
$scope.centerName = "Center Pane";
};

var module = angular.module("angular-dojo-test", ['angular-dojo']);

</script> ```
Id: {{leftName}}
Id: {{centerName}}
```

When I use normal data-dojo-type and comma's in data-dojo-props, the code works as expected. Any ideas?

@monobyte
Copy link
Author

<!doctype html>

<script src="vendor/dojo-release-1.9.1/dojo/dojo.js"></script> <script src="vendor/angular-1.1.5/angular.js"></script> <script src="vendor/angular-dojo.js"></script> <script>
  function TestController($scope) {
    $scope.leftName = "Left Pane";
    $scope.centerName = "Center Pane";
  };

  var module = angular.module("angular-dojo-test", ['angular-dojo']);

  </script>
Id: {{leftName}}
Id: {{centerName}}

When I use normal data-dojo-type and comma's in data-dojo-props, the code works as expected. Any ideas?

@adrobisch
Copy link
Owner

I will look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants