Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. # Module
  2. # NOTE: The last line lowercases the first letter of the 1st variable and stores it as the 2nd
  3. # variable
  4. snippet uim "Create a UI module" m
  5. import { NgModule } from '@angular/core';
  6. import { CommonModule } from '@angular/common';
  7. /*
  8. *import {
  9. * MdButtonModule,
  10. *} from '@angular/material';
  11. */
  12.  
  13. import { Ts${1:Foo}Component } from './$2.component';
  14. export { Ts$1Component } from './$2.component';
  15.  
  16.  
  17. @NgModule({
  18. imports: [
  19. CommonModule,
  20. ],
  21. exports: [
  22. Ts$1Component,
  23. ],
  24. declarations: [
  25. Ts$1Component,
  26. ],
  27. })
  28. export class Ts$1Module {}
  29. `!p t[2] = t[1][:1].lower() + t[1][1:]`
  30. endsnippet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement