-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from kumaresan-subramani/master
Gihub source updation for v16.4.0.52 service pack 1 release
- Loading branch information
Showing
1,400 changed files
with
129,509 additions
and
22,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.npmrc | ||
.vscode/ | ||
public/ | ||
node_modules/ | ||
styles/**/*.css | ||
**/*.js | ||
!samples/**/*.js | ||
!src/common/lib/** | ||
units.html | ||
src/**/*-stack.json | ||
!src/sys.js | ||
src/common/api-table | ||
src/common/api-table.json | ||
!src/common/api-table-generator.js | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -342,5 +342,3 @@ npm run serve | |
## Support and Feedback | ||
|
||
* For any other queries, reach our [Syncfusion support team](https://www.syncfusion.com/support/directtrac/incidents/newincident?utm_source=github&utm_medium=listing&utm_campaign=ej2-samples) or post the queries through the [community forums](https://www.syncfusion.com/forums?utm_source=github&utm_medium=listing&utm_campaign=ej2-samples). | ||
|
||
* To renew the subscription, click [here](https://www.syncfusion.com/sales/products?utm_source=github&utm_medium=listing&utm_campaign=ej2-samples) or contact our sales team at <[email protected]> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,71 @@ | ||
/** | ||
* sample browser Spec | ||
*/ | ||
import { Ajax } from '@syncfusion/ej2-base'; | ||
import '../node_modules/es6-promise/dist/es6-promise'; | ||
import { samplesList } from '../src/common/sampleList'; | ||
|
||
interface MyWindow extends Window { | ||
customError: any; | ||
navigateSample: any; | ||
} | ||
|
||
declare let window: MyWindow; | ||
|
||
|
||
describe('sample browser', (): void => { | ||
|
||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000; | ||
|
||
let samples: any = samplesList; | ||
beforeAll((done: Function) => { | ||
let ajax: Ajax = new Ajax('../base/index.html', 'GET', true); | ||
ajax.send().then((value: Object): void => { | ||
document.body.innerHTML = document.body.innerHTML + value.toString(); | ||
require( | ||
['../src/common/index.min'], | ||
(): void => { | ||
done(); | ||
}); | ||
}); | ||
}); | ||
describe('testing -', () => { | ||
|
||
beforeEach(() => { | ||
window.customError = (): boolean => { | ||
//console.log('called error'); | ||
return false; | ||
}; | ||
spyOn(window, 'customError'); | ||
window.addEventListener('error', window.customError); | ||
}); | ||
|
||
afterEach(() => { | ||
window.customError.calls.reset(); | ||
}); | ||
for (let control of samples) { | ||
if (control.category !== 'ShowCase') { | ||
control.samples.forEach((element: any) => { | ||
it('Control Name: ' + control.directory + ', Sample Name: ' + element.name, (done: Function) => { | ||
window.navigateSample = (): void => { | ||
expect(window.customError).not.toHaveBeenCalled(); | ||
done(); | ||
}; | ||
window.location.href = '#/material/' + control.directory + '/' + element.url + '.html'; | ||
}); | ||
}); | ||
} | ||
} | ||
}); | ||
}); | ||
/* tslint:disable */ | ||
import { Ajax } from '@syncfusion/ej2-base'; | ||
import '../node_modules/es6-promise/dist/es6-promise'; | ||
import { samplesList } from './../src/common/sampleList'; | ||
|
||
interface MyWindow extends Window { | ||
customError: any; | ||
onerror: any; | ||
navigateSample: any; | ||
console: any; | ||
} | ||
|
||
declare let window: MyWindow; | ||
|
||
|
||
describe('sample browser', (): void => { | ||
|
||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000; | ||
|
||
let samples: any = samplesList; | ||
beforeAll((done: Function) => { | ||
let ajax: Ajax = new Ajax('../base/index.html', 'GET', true); | ||
ajax.send().then((value: Object): void => { | ||
document.body.innerHTML = document.body.innerHTML + value.toString(); | ||
require( | ||
['../src/common/index.min'], | ||
(): void => { | ||
done(); | ||
}); | ||
}); | ||
}); | ||
describe('testing -', () => { | ||
|
||
beforeEach(() => { | ||
window.customError = (): boolean => { | ||
return false; | ||
}; | ||
window.onerror = (message: any, file: any, line: any, column: any, errorObj: any): boolean => { | ||
window.console.log(message); | ||
window.console.log('at ' + file + ' line: ' + line + ' column: ' + column); | ||
return false; | ||
}; | ||
spyOn(window, 'customError'); | ||
window.addEventListener('error', window.customError); | ||
}); | ||
|
||
afterEach(() => { | ||
window.customError.calls.reset(); | ||
}); | ||
|
||
for (let control of samples) { | ||
if (control.category !== 'ShowCase' && control.name !== 'Stock Chart') { | ||
control.samples.forEach((element: any, index: number) => { | ||
it(' ', (done: Function) => { | ||
window.navigateSample = (): void => { | ||
expect(window.customError).not.toHaveBeenCalled(); | ||
done(); | ||
}; | ||
window.location.href = '#/material/' + control.directory + '/' + element.url + '.html'; | ||
window.console.log(window.location.href); | ||
}); | ||
|
||
}); | ||
|
||
} | ||
} | ||
}); | ||
}); |
Oops, something went wrong.