Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. function execute(code) {
  2. var wrap = Utilities.formatString('(function(global_scope){%s})(this)', code);
  3. eval(wrap);
  4. }
  5.  
  6. google.script.run.execute('Logger.log("Bingo!")');
  7.  
  8. $(function() {
  9. google.script.run.withSuccessHandler(showThings)
  10. .getLotsOfThings();
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement