mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Rename Angular2Spa to AngularSpa, plus rephrase "Angular 2" as "Angular" in many places
This commit is contained in:
@@ -14,7 +14,7 @@ export class AlbumDeletePrompt {
|
||||
public show(album: models.Album) {
|
||||
this.album = album;
|
||||
|
||||
// Consider rewriting this using Angular 2's "Renderer" API so as to avoid direct DOM access
|
||||
// Consider rewriting this using Angular's "Renderer" API so as to avoid direct DOM access
|
||||
(<any>window).jQuery(".modal", this._elementRef.nativeElement).modal();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@ export default function (params: any): Promise<{ html: string, globals?: any }>
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
// Here, you could put any logic that synchronously or asynchronously prerenders
|
||||
// your SPA components. For example, see the boot-server.ts files in the Angular2Spa
|
||||
// and ReactReduxSpa templates for ways to prerender Angular 2 and React components.
|
||||
// your SPA components. For example, see the boot-server.ts files in the AngularSpa
|
||||
// and ReactReduxSpa templates for ways to prerender Angular and React components.
|
||||
//
|
||||
// If you wanted, you could use a property on the 'params.data' object to specify
|
||||
// which SPA component or template to render.
|
||||
|
||||
Reference in New Issue
Block a user