angular-dynamic-layout icon indicating copy to clipboard operation
angular-dynamic-layout copied to clipboard

The demo does not work with the Angular 1.4.4 release

Open namitkabra opened this issue 11 years ago • 4 comments

The angular-dynamic-layout demo @ http://tristanguigue.github.io/angular-dynamic-layout/ does not work with the latest Angular release. So is angular-dynamic-layout not compatible with Angular 1.4.4 ?

namitkabra avatar Aug 27 '15 15:08 namitkabra

I haven't tested with the latest version of Angular but I´m assuming that wouldn´t be too much changes to make it compatible. As an open-source project feel free to contribute with a Pull Request otherwise I will try to have a look when I get the time.

tristanguigue avatar Aug 28 '15 08:08 tristanguigue

Hi,

Thank you for answering. I am just getting used to JavaScript. I wish I was competent enough to make that work with the new release. So I will wait till you get time to make it work.

Regards, Namit Kabra

On Fri, Aug 28, 2015 at 1:38 PM, Tristan Guigue [email protected] wrote:

I haven't tested with the latest version of Angular but I´m assuming that wouldn´t be too much changes to make it compatible. As an open-source project feel free to contribute with a Pull Request otherwise I will try to have a look when I get the time.

— Reply to this email directly or view it on GitHub https://github.com/tristanguigue/angular-dynamic-layout/issues/15#issuecomment-135667247 .

namitkabra avatar Aug 31 '15 04:08 namitkabra

https://github.com/tristanguigue/angular-dynamic-layout/pull/16

This is a quick fix to make it work on angular 1.4.4.

koolshams avatar Sep 04 '15 18:09 koolshams

I noticed that this change is not incorporated in the latest release that downloads from bower... I tried cloning the source repository, was able to compile that. but then I don't know how to simply add the dist files to my own project... I tried copying them over to my components dir (not bower_compoents) and I notice the reference is getting injected into index.html, but I get all these jshint errors when I run grunt:

Running "jshint:all" (jshint) task

client/components/angular-dynamic-layout/angular-dynamic-layout.js
  line 23   col 25    'dynamicLayout' was used before it was defined.
  line 33   col 61    Bad escaping of EOL. Use option multistr if needed.
  line 34   col 61    Bad escaping of EOL. Use option multistr if needed.
  line 35   col 61    Bad escaping of EOL. Use option multistr if needed.
  line 36   col 61    Bad escaping of EOL. Use option multistr if needed.
  line 37   col 61    Bad escaping of EOL. Use option multistr if needed.
  line 38   col 61    Bad escaping of EOL. Use option multistr if needed.
  line 39   col 67    Bad escaping of EOL. Use option multistr if needed.
  line 44   col 5     Inner functions should be listed at the top of the outer function.
  line 44   col 18    'link' was used before it was defined.
  line 106  col 24    'onResize' was used before it was defined.
  line 125  col 27    'itemsLoaded' was used before it was defined.
  line 150  col 29    'externalScope' was used before it was defined.
  line 168  col 24    'layoutOnLoad' was used before it was defined.
  line 222  col 25    'FilterService' was used before it was defined.
  line 234  col 5     Inner functions should be listed at the top of the outer function.
  line 234  col 26    'applyFilters' was used before it was defined.
  line 356  col 27    'PositionService' was used before it was defined.
  line 379  col 5     Inner functions should be listed at the top of the outer function.
  line 379  col 38    'getItemsDimensionFromDOM' was used before it was defined.
  line 416  col 24    'applyToDOM' was used before it was defined.
  line 490  col 20    'layout' was used before it was defined.
  line 512  col 24    'getColumns' was used before it was defined.
  line 680  col 25    'RankerService' was used before it was defined.
  line 692  col 5     Inner functions should be listed at the top of the outer function.
  line 692  col 26    'applyRankers' was used before it was defined.
  line 705  col 22    'sorter' was used before it was defined.
  line 785  col 14    'as' was used before it was defined.
  line 804  col 24    'customFilter' was used before it was defined.
  line 825  col 24    'customRanker' was used before it was defined.
  line 174  col 11    '$timeout' is not defined.
  line 174  col 27    'timeoutId' is not defined.
  line 175  col 11    'timeoutId' is not defined.
  line 175  col 23    '$timeout' is not defined.

client/components/angular-dynamic-layout/angular-dynamic-layout.min.js
  line 4    col 25    Strings must use singlequote.
  line 4    col 56    Strings must use singlequote.
  line 4    col 69    Strings must use singlequote.
  line 4    col 71    Missing semicolon.
  line 4    col 73    Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
  line 4    col 98    Strings must use singlequote.
  line 4    col 249   Missing semicolon.
  line 4    col 251   Missing semicolon.
  line 4    col 323   Missing semicolon.
  line 4    col 432   Expected an assignment or function call and instead saw an expression.
  line 4    col 433   Missing semicolon.
  line 4    col 466   Strings must use singlequote.
  line 4    col 555   Expected an assignment or function call and instead saw an expression.
  line 4    col 556   Missing semicolon.
  line 4    col 570   Missing semicolon.
  line 4    col 616   Missing semicolon.
  line 4    col 711   Strings must use singlequote.
  line 4    col 746   Missing semicolon.
  line 4    col 782   Strings must use singlequote.
  line 4    col 817   Missing semicolon.
  line 4    col 848   Strings must use singlequote.
  line 4    col 998   Missing semicolon.
  line 4    col 999   Expected an assignment or function call and instead saw an expression.
  line 4    col 1000  Missing semicolon.
  line 4    col 1042  Strings must use singlequote.
  line 4    col 1085  Strings must use singlequote.
  line 4    col 1165  Strings must use singlequote.
  line 4    col 1177  Expected an assignment or function call and instead saw an expression.
  line 4    col 1178  Missing semicolon.
  line 4    col 1180  Missing semicolon.
  line 4    col 1221  Missing semicolon.
  line 4    col 1244  Strings must use singlequote.
  line 4    col 1293  Strings must use singlequote.
  line 4    col 1303  Missing semicolon.
  line 4    col 1304  Expected an assignment or function call and instead saw an expression.
  line 4    col 1305  Missing semicolon.
  line 4    col 1325  Strings must use singlequote.
  line 4    col 1342  Strings must use singlequote.
  line 4    col 1354  Strings must use singlequote.
  line 4    col 1366  Strings must use singlequote.
  line 4    col 1387  Strings must use singlequote.
  line 4    col 1829  Missing semicolon.
  line 4    col 1860  Strings must use singlequote.
  line 4    col 1887  Strings must use singlequote.
  line 4    col 1899  Strings must use singlequote.
  line 4    col 1909  Strings must use singlequote.
  line 4    col 1914  Strings must use singlequote.
  line 4    col 1925  Strings must use singlequote.
  line 4    col 1943  Strings must use singlequote.
  line 4    col 1959  Missing semicolon.
  line 4    col 1959  Too many errors. (100% scanned).

  ✖  1 error
  ⚠  84 warnings

Warning: Task "jshint:all" failed. Use --force to continue.

Aborted due to warnings.

williamnoto avatar Jan 10 '16 17:01 williamnoto