NBC: Twitter says parts of its source code were leaked online