Syed Ali Abbas Zaidi
d7053a6783
fix: eslint autofixable issues ( #32181 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
* fix: all autofixable eslint issues
* fix: all react related fixable issues
* fix: autofixable eslint issues
* chore: remove all template literals
* fix: remaining autofixable issues
* fix: failing js test
2023-05-18 11:03:59 +05:00
Syed Ali Abbas Zaidi
adf879e8b2
Revert "fix: all auto fixable eslint issues ( #31900 )" ( #32203 )
...
This reverts commit 228180b1ef .
2023-05-09 13:53:54 +05:00
Syed Ali Abbas Zaidi
228180b1ef
fix: all auto fixable eslint issues ( #31900 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint prefer template issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
2023-05-09 11:57:15 +05:00
Syed Ali Abbas Zaidi
f1fb38ed83
fix: multi lines and spaces issues ( #31885 )
...
* fix: multi lines and spaces issues
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: remaining quotes issues
* fix: eslint object curly newline issue
* fix: eslint object curly spacing issue
* fix: eslint brace-style issues
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint linbreak style issue
* fix: eslint space unary operator issue
* fix: eslint line around directives issue
* fix: void and typeof space unary ops issue
2023-05-03 12:22:46 +05:00
Calen Pennington
07a15c681f
Reapply the XBlock RequireJS -> Webpack changes
...
This reverts commit 105db2cf59 , reversing
changes made to 447457594f .
2018-06-27 22:27:07 -04:00
Eric Fischer
e72549cdbe
Revert "Merge pull request #18340 from cpennington/fix-studio-xblock-rendering"
...
This reverts commit 9a70ca78a5 , reversing
changes made to efd5b9abbd .
Hopefully fixes EDUCATOR-3053
2018-06-15 13:18:27 -04:00
Calen Pennington
be3c7e05c5
Reapply "Switch container factory to webpack"
...
This reverts commit 18d93b00ba .
2018-06-07 15:52:05 -04:00
Calen Pennington
18d93b00ba
Revert "Switch container factory to webpack"
2018-06-07 13:46:47 -04:00
Calen Pennington
0abe75a7c6
Re-apply the changes to convert XBlocks to Webpack
...
Reapplies edx/edx-platform#17509
This reverts commit 0f7e2373d0 .
2018-06-06 12:52:12 -04:00
Calen Pennington
0f7e2373d0
Revert "Switch container factory to webpack"
2018-05-29 16:01:38 -04:00
Calen Pennington
667dbf1687
Clean up eslint failures
2018-05-29 12:28:19 -04:00
Calen Pennington
61855b2b30
Extract a new webpack-based suite of cms javascript tests
2018-05-29 12:28:19 -04:00
Michael Terry
a34c8c8233
Drop remaining coffee use
...
This basically commits the transpiled CoffeeScript JS (with minor
cleanup) and removes coffee build support.
A tiny amount of support for xblocks exists, because external users
may have xblocks with coffee. But no coffee in our tree anyway.
2018-04-13 14:10:40 -04:00
David Ormsbee
4e7fffa70f
Remove cms/static/coffee/fixtures symlink.
...
FEDX-458. Part of the static files symlink cleanup.
2017-12-21 16:40:18 -05:00
Brian Jacobel
a32fd27d60
Replace JSHint ignore directives with ESLint ones
2016-08-04 16:22:59 -04:00
Andy Armstrong
fff88151d2
Convert XBlock runtime code to JavaScript
2016-06-19 12:55:20 -04:00
Brian Jacobel
4f0aee3f2d
Fix unit and acceptance tests broken in upgrade (squashed)
...
Fix syntax error in selectors
.attr() now returns a string (though it can still be passed an integer)
Fixes checkbox test failures
Remove remaining references to jquery.min (in wrong folder)
$.ajax now returns 422 if type is json and body is not JSON, e.g. ''
Substitute prop for attr
Remove references to jquery.min, add jquery.migrate (again)
"Fix" jquery karma config
This wasn't suppoed to survive the merge
This throws an error when called with an 'undefined' error
Fix Karma warning about [re|un]loading the window
Fix path for jquery in cms-squire tests
Move jasmine.clock.uninstall() to afterEach so it runs even on failure
Fix test failing due to timezone issues
Do the timeout before the window scrolling (so handler will not be _.throttled)
Fix an alert() triggered by window.onBeforeUnload while testing in Chrome
2016-05-24 16:53:57 -04:00
Usman Khalid
a2dadeaaf3
Added some documentation to Karma configuration files.
2016-05-05 22:42:04 +05:00
Usman Khalid
667a9b9ae6
Moved common files into karma.common.conf.js.
2016-05-05 22:42:04 +05:00
Usman Khalid
6ed935383b
Remove xmodule_js prefix from paths of edx-ui-toolkit, edx-pattern-library and common.
2016-05-05 22:42:03 +05:00
Usman Khalid
2839a42e0c
Moved jasmine addons to common/js/spec_helpers.
2016-05-05 22:42:02 +05:00
Usman Khalid
84412ef8ea
Exclude translation files from coverage tracking.
2016-05-05 22:42:02 +05:00
Usman Khalid
15acec2054
Simplify paths patterns in karma config files.
...
Files which are loaded via RequireJs do not need to be individually
declared in karma config files. If we give karma directories,
it will serve all the files in them.
2016-05-05 22:42:00 +05:00
Usman Khalid
713c79e0aa
Set included=false by default because we want to move towards RequireJs.
2016-05-05 22:39:59 +05:00
Usman Khalid
855fdbd387
Moved all logic from karma config files to karma.common.conf.js.
...
The config files just declare lists of files.
2016-05-05 22:38:34 +05:00
Usman Khalid
ecf233c1b4
Keep karma config file docs only in karma.common.conf.js. Duplicate stuff tends to get out of sync.
2016-05-05 22:35:54 +05:00
Usman Khalid
09594d6305
Merge pull request #12243 from edx/usman/tnl4416-spec-nesting
...
When using RequireJS load spec files one by one.
2016-04-29 17:09:57 +05:00
Usman Khalid
4d228199d1
When using RequireJS load spec files one by one.
...
Jasmine has a global stack for creating a tree of specs. We need to load
spec files one by one, otherwise some end up getting nested under others.
2016-04-29 15:54:47 +05:00
muzaffaryousaf
928d9a2694
Replace backbone-min to actual file.
2016-04-28 12:46:29 +05:00
muhammad-ammar
4fd2a7d176
LMS fixes required to upgrade BackboneJS
2016-04-27 12:51:13 +05:00
Ehtesham
8603026795
making preprocessor files path absolute to have coverage reporter include file only once
2016-04-22 19:09:35 +05:00
Ehtesham
3507792b78
coverage fixes
2016-04-22 19:09:35 +05:00
Usman Khalid
c728c9d30a
Post-rebase fixes.
2016-04-22 19:09:33 +05:00
muzaffaryousaf
c0fef0b0e0
Js test fixes for cms and cms-squire.
2016-04-22 19:09:33 +05:00
muzaffaryousaf
db672f4631
Karma configurations for common, lms and cms.
...
TNL-4102
2016-04-22 19:09:27 +05:00